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,236 times
Last updated: Feb 17 '16
Gazebo / ROS problem in multiple Monte Carlo simulations
Dynamic model for articulated vehicle in gazebo
URDF (.xacro) vs model file (.sdf) with ROS
Gazebo 9 + ROS, /odom topic timestamp is not being updated
Is it possible to synchronize Gazebo /clock with respect to node calculations?
How to publish joint angle using plugins?
URDF Error No valid hardware interface element found in joint
Do you mean that each robot has its own ROS_MASTER?
Yes, exactly.