can't spawn model in gazebo
hello everyone , i start gazebo with $ roscore & $ rosrun gazebo_ros gazebo
, then i want to add a coke_can to it , and i type: $ rosrun gazebo_ros spawn_model -database coke_can -gazebo -model coke_can -y 1
but nothing happen in gazebo world . and the info in my terminate is below :
spawn_model script started
Deprecated: the -gazebo tag is now -sdf
[INFO] [WallTime: 1420599431.921951] [0.000000] Loading model xml from Gazebo Model Database
[INFO] [WallTime: 1420599431.922563] [0.000000] Waiting for service /gazebo/spawn_sdf_model
[INFO] [WallTime: 1420599431.925847] [0.000000] Calling service /gazebo/spawn_sdf_model
[INFO] [WallTime: 1420599441.933129] [619.918000] Spawn status: SpawnModel: Model pushed to spawn queue, but spawn service timed out waiting for model to appear in simulation under the name coke_can
if anyone know , please tell me , thx