0
$\begingroup$

Rosanswers logo

I'm trying to figure out how to run gazebo on roslaunch without the GUI showing up.How do I do that?


Originally posted by distro on ROS Answers with karma: 167 on 2022-08-03

Post score: 1

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

You could pass the gui launch descriptor. This is how it looks in the command line for ROS2:

ros2 launch gazebo_ros gazebo.launch.py gui:=0

This flag exists for ros1 as well


Originally posted by Pepis with karma: 130 on 2022-08-03

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by ljaniec on 2022-08-03:
Usually parameters called similar to headless etc. could work too

Comment by Mike Scheutzow on 2022-08-06:
@Pepis giving a ros2 answer for a ros1 question is not totally helpful. Also, the name of that argument depends on which launch file(s) the user has, so it may or may not work.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.