Robotics StackExchange | Archived questions

What is the prupose of unpause argument in gazebo_ros spawn_model

Hello,

As the subject said, what is the purpose of unpause argument in gazeboros spawnmodel?

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 " />

Asked by TouchDeeper on 2020-02-25 00:04:34 UTC

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?

Asked by mgruhler on 2020-02-25 02:31:29 UTC

yes, I get it, thank you.

Asked by TouchDeeper on 2020-02-25 02:42:08 UTC

Answers