[ros-users] remap and machine attributes

Mike Purvis mpurvis at clearpathrobotics.com
Mon Sep 20 15:29:19 UTC 2010


Hey,

It doesn't seem to be possible to use <remap> with machine names. Is this
intentional? Following from point #3 on this page <
http://www.ros.org/wiki/roslaunch/Architecture>, I expected to be able to
structure my launch file like so:

<launch>
  <include file="all_machines.launch">

  <remap from="robot_machine" to="cpr-demo-01" />
  <remap from="joystick_machine" to="cpr-demo-02" />
  <remap from="gui_machine" to="cpr-demo-03" />

  <group ns="my_robot">
    <include file="robot_stuff.launch" />
    <include file="more_robot_stuff.launch" />
  </group>
</launch>

The nodes listed inside of robot_stuff.launch and more_robot_stuff.launch
would be able to refer to robot_machine and have that resolve to
cpr-demo-01. Have I misunderstood the expected structure? Is the idea that
the machine aliasing occurs in the file containing the master machines list?

Thanks,

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100920/b7c6c99c/attachment-0002.html>


More information about the ros-users mailing list