ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

running gazebo without GUI [closed]

asked 2022-08-03 12:48:57 -0500

distro gravatar image

updated 2022-08-07 09:09:30 -0500

lucasw gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by distro
close date 2022-08-06 19:06:42.312573

1 Answer

Sort by ยป oldest newest most voted

answered 2022-08-03 14:07:48 -0500

Pepis gravatar image

updated 2022-08-03 14:16:40 -0500

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

ros2 launch gazebo_ros gui:=0

This flag exists for ros1 as well

edit flag offensive delete link more


Usually parameters called similar to headless etc. could work too

ljaniec gravatar image ljaniec  ( 2022-08-03 14:56:42 -0500 )edit

@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.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-08-06 08:41:20 -0500 )edit

Question Tools



Asked: 2022-08-03 12:48:57 -0500

Seen: 297 times

Last updated: Aug 03 '22