I assume you launch gazebo and PX4 separately?
If so :
What binary and arguments do you use to launch PX4 and how do you launch gazebo separately?
Could you send me an example?
After digging up in the makefile and in the stil_run.sh I’ve come up with a pretty circuitous way to do it, and I suspect there’s simpler ways to do it (specially the gazebo part).
I set the following as the Debug Command in the IDE (Netbeans in my case)
Firmware/build_posix_sitl_default/src/firmware/posix/px4 posix-configs/SITL/init/lpe none gazebo Firmware Firmware/build_posix_sitl_default
and then start gazebo on a terminal like this:
$ source /Users/ealdaz/Documents/PX4/FirmwareFork/Tools/setup_gazebo.bash /Users/ealdaz/Documents/PX4/FirmwareFork /Users/ealdaz/Documents/PX4/FirmwareFork/build_posix_sitl_default
$ gazebo --verbose /Users/ealdaz/Documents/PX4/FirmwareFork/Tools/sitl_gazebo/worlds/plane.world &