Robotics StackExchange | Archived questions

gazebo start alone in my cpp, not as plugin in launch file

how can i start gazebo (with gui or not with gui) alone in my main cpp, then load the ground and model file and control each simulation iteration in debug mode, with no launch file?

Asked by alpha on 2017-07-11 04:38:20 UTC

Comments

Answers

Take a looks at the custom_main stand_alone example

Asked by nkoenig on 2017-07-11 10:20:16 UTC

Comments

I have tried this example before, but nothing happen when execute the program custom_main. I have checked that, the gazebo has already start, but the gui of gazebo was not found.

Asked by alpha on 2017-07-11 20:19:00 UTC

how to compile it if i don't install Gazebo from source?

Asked by longwoo on 2017-07-21 04:39:40 UTC