ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How can I have a copy of same robot in Gazebo simulation

asked 2017-04-05 02:57:46 -0500

Waleed_Shahzaib gravatar image

I am working on a robot, now I want to have a copy of the same robot in Gazebo simulation. Please tell How can I achieve it? Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-04-06 09:42:07 -0500

You can spawn multiple instances of the same model via launch files. The lots_of_robots.launch example launch file spawns 100 Pioneer 3 AT robots into Gazebo for instance (screenshot) ;) It's a small demo I created at a workshop last year, and should give you an idea how you can do it also for fewer robots. Setting up the correct group namespaces and tf for onboard software can be a bit tricky though.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-04-05 02:57:46 -0500

Seen: 649 times

Last updated: Apr 06 '17