PX4-Autopilot: `make posix_sitl_default gazebo_none_ide` is not a valid build target.
It seems that make posix_sitl_default gazebo_none_ide
, as mentioned on https://dev.px4.io/simulation-gazebo.html, is not a valid build target.
Exact error on trying to run make posix_sitl_default gazebo_none_ide
on the master branch:
ninja: error: unknown target 'gazebo_none_ide', did you mean 'gazebo_plane_ide'?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (14 by maintainers)
I’m not sure what happened to none, but I actually strongly dislike this system. These shouldn’t be firmware build targets, it’s all the same firmware build. This should be a helper script that lives outside of the build system.
It’s one of those things that was kind of convenient initially, but ended up making something simple actually quite complicated and mysterious. Now we need even more magic helper targets to do things that should be easy like running px4 under gdb. Is that gdb_gazebo_iris, gazebo_iris_gdb, or maybe gazebo_iris__gdb? What a time saver over launching gdb manually (
gdb --args ./px4
) in a way I can google to figure out.If we’re going to do anything here I propose we break this apart into the orthogonal pieces that it actually is. If we did it that way it would be trivial to do things like running gazebo on the side, and starting px4 separately in your ide, or under gdb, or valgrind, or under the debugger in your IDE. All without additional magic.
The separate pieces are…
building px4
building the simulator (sitl_gazebo or jmavsim)
running px4
running the simulator
bringing it altogether
Thoughts?