Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

Robot-Plugin is Loaded again when spawning another Robot

Hi,

I recognized that every time I spawn more than one robot using gazebo_ros_pkgs the Plugins of the already spawned robots are reloaded (load is called again...). Is this supposed to happen, or am I doing something wrong?

For a very small test I reduced my current launch file to this: https://gist.github.com/anonymous/6104031

And start it with:

roslaunch my_bot_gazebo test.launch robot_name:=test1 robot_namespace:=test1 x:=10

roslaunch my_bot_gazebo test.launch robot_name:=test2 robot_namespace:=test2 x:=-10

I'm working with Gazebo1.9.5/ROS-Groovy