Implement the way to run posix simulator directly from IDE without the need to...
Implement the way to run posix simulator directly from IDE without the need to reconfigure command lines, but use runner created via CMake Steps to debug: * Run gazebo (or any other sim) server and client viewers via the terminal: `make posix_sitl_default gazebo_none_ide` * In your IDE select `px4_<mode>` target you want to debug (e.g. `px4_iris`) * Start debug session directly from IDE This approach significantly reduces the debug cycle time because simulator (e.g. gazebo) is always running in background and you only re-run px4 process which is very light.
Showing
- Tools/sitl_run.sh 9 additions, 0 deletionsTools/sitl_run.sh
- src/firmware/posix/CMakeLists.txt 124 additions, 95 deletionssrc/firmware/posix/CMakeLists.txt
- src/platforms/posix/main.cpp 6 additions, 0 deletionssrc/platforms/posix/main.cpp
- src/platforms/posix/sitl_runner_main.cpp.in 53 additions, 0 deletionssrc/platforms/posix/sitl_runner_main.cpp.in
Loading
Please register or sign in to comment