Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all articles
Browse latest Browse all 46158

How to execute example sketch using SITL on Linux

$
0
0

@sachinkundu wrote:

I am trying to understand Copter code and started with advise listed here http://ardupilot.org/dev/docs/learning-ardupilot-the-example-sketches.html

I would like to try the code in SITL which is up and running fine on my linux machine. I can load waypoints and the copter flies etc.

On the above linked page, I followed

./waf configure --board=sitl
./waf build --target examples/INS_generic --upload

I have started sim_vehicle.py in another window.

Does the --upload flag above have any result here? The example expects that I am building for px4.

I tried to execute INS_Generic binary on the console with

./build/sitl/examples/INS_generic -M quad

But that leads to segmentation fault.

Is there a way I can run example code on sitl?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 46158

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>