Gazebo9 Ros Melodic

asked 2018-08-13 07:49:40 -0600

Pawlas gravatar image

updated 2018-08-13 14:35:17 -0600

gvdhoorn gravatar image

Hello I have a gazebo launch problem I wanted to launch my_model_world.launch It should open gazebo with my robot model and everything looks ok in gazebo but terminal shows:

[ERROR] [1534163227.741349859]: SpawnModel: Failure - model name my_model already exist.

I'm new in ROS and I don't know what is going on

edit retag flag offensive close merge delete

Comments

Most likely because you are spawning 2 models that have the same name ("my_model"). Each model needs a different name. You could also post your codes - both the launch file as well as the world file - here.

Arif Rahman gravatar imageArif Rahman ( 2018-08-13 19:07:55 -0600 )edit

It solved. I removed almost all things in my_model.world Now when I'm trying launch my_model in Rviz, every objects are loaded but few objects are huge, scale is about 30x bigger (or more) and this bigger objects are in the same palce, in the middle of space, every time other objects, it is random

Pawlas gravatar imagePawlas ( 2018-08-14 06:24:04 -0600 )edit