I’m working with SITL on 1.8.1 inside Qt Creator IDE and jMavSim.
If i stop on some breakpoint, while in the air, the vehicle falls down.
Can i change the behavior that a breakpoint will freeze the current state of the flight stack, and then continue from that point ?
If you use latest master, it is implemented using lockstep which means px4 and the simulator wait on each other. This makes it possible to use breakpoints as you are describing it.
Good news, thank you.
Does it matter which simulator?
jMAVSim or Gazebo both work with lockstep.