What is the prupose of unpause argument in gazebo_ros spawn_model

asked 2020-02-24 23:04:34 -0500

TouchDeeper gravatar image

updated 2020-02-25 01:39:04 -0500

Hello,

As the subject said, what is the purpose of unpause argument in gazebo_ros spawn_model?

edit

I test the below code, but -pause, -unpause or without this argument seems like have no difference, the Gazebo is always unpaused.

  <node name="urdf_spawner" pkg="gazebo_ros" type="spawn_model"
    args="-pause
          -urdf
          -model ridgeback
          -param robot_description
          -x 0
          -y 0
          -z 1 " />
edit retag flag offensive close merge delete

Comments

Did you check the output of rosrun gazebo_ros spawn_model -h?

-unpause - optional: !!!Experimental!!! unpause physics after spawning model

Does this answer your question?

mgruhler gravatar image mgruhler  ( 2020-02-25 01:31:29 -0500 )edit

yes, I get it, thank you.

TouchDeeper gravatar image TouchDeeper  ( 2020-02-25 01:42:08 -0500 )edit