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

Revision history [back]

click to hide/show revision 1
initial version

You can run two instances of your node which spawns the robot under two namespaces.

You can run two instances of your node which spawns the robot under two namespaces.

Edit 1 : This can be done in multiple ways. The best way is to make a roslaunch file and add nodes in there. By using the “ns” attribute you can define the namespace. You can find details here

Example:

<launch>
    <node pkg=“…” type=”…” name=”…”  ns=”…”/>
</launch>