Two robots in Gazebo, each with separate ROS
Is it possible to simulate two robots in the same environment, where each robot runs its own ROS?
Is it possible to simulate two robots in the same environment, where each robot runs its own ROS?
Gazebo can simulate as many robots as you want. The issue you are facing is associated with ROS. You'll get better help on this topic at answers.ros.org.
I think that his question relates to the configuration of the gazebo_ros plugins... I'm guessing the question being asked is how to set the ROS_MASTER_URI parameter (or other command line args) for a running gazebo plugin. It might be an easier strategy for the two robots connect to the roscore instance that gazebo_ros is running on.
No. You should go to answers.ros.org, or google 'ros multiple robots' or 'ros multimaster'.
@nkoenig This is definitely question related to Gazebo. I already have working multimaster setup in the lab with two (real) robots. What I want is to simulate such setup. Right now I'm running two instances of Gazebo - each one with one of the robots and different ROS_MASTER_URI. But it would be great to have both robots simulated in one Gazebo instance (so they could collide with each other etc.). Is it clear now? Sorry for not being specific in the original question.
Asked: 2015-08-12 06:23:18 -0600
Seen: 656,230 times
Last updated: Feb 17 '16
Ros enabled plugin examples use c++11 ?
Laser not detecting edge of sidewalk
Deleting Robot in gazebo causes segfault in gzserver
How to use Gazebo2 internal topics?
Unable to control arm with ROS' CartesianPoseController [closed]
Gazebo and urdf_spawner processes die
Set Odometry in a new robot in ROS
ROS Groovy simulator_gazebo on OSX
Do you mean that each robot has its own ROS_MASTER?
Yes, exactly.