@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