Robotics StackExchange | Archived questions

How to turn off visualisation in Gazebo?

Hi I am working with RL to control the movement of UR5. I feel that the simulation running on the Gazebo is making things less fast. Is there a way to turn off the visualization in Gazebo ? Alternatively, is there a way to speed up ROS and Gazebo because I am using a 64 Core and I have a huge memory but most of it is unused. I am using ROS Melodic

Asked by mkb_10062949 on 2020-03-04 16:39:17 UTC

Comments

Just don't start the GUI part of Gazebo. It consists of two parts: gzserver and gzclient.

Asked by gvdhoorn on 2020-03-04 16:54:41 UTC

You mean set headless and gui to false?

Asked by mkb_10062949 on 2020-03-04 17:07:44 UTC

Just pass the GUI argument as false:

<arg name="gui" value="false"/>

Furthermore, If you want to optimize the way your simulation executes, you may want to use the Gazebo answers forum. Maybe you will find more help there.

Asked by Weasfas on 2020-03-05 06:04:06 UTC

Answers