How to run gazebo with no gui? [closed]
I want to run the simulator without the gui showing. I've tried adding -g to the argument but it is still not working.
<node name="gazebo" pkg="gazebo" type="gazebo" args="-g -u $(find cvg_sim_gazebo)/worlds/3boxes_room.world" respawn="false" output="screen"/>
<group if="$(arg gui)">
<node name="gazebo_gui" pkg="gazebo" type="gui" respawn="false" output="screen" required="true"/>
</group>