[ros-users] remap and machine attributes

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: Mike Purvis
Dato:  
Til: ros-users
Emne: [ros-users] remap and machine attributes
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