[ros-users] remap unaffectes subscriptions

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: User discussions
Dato:  
Til: ros-users
Emne: [ros-users] remap unaffectes subscriptions
I was expecting <remap> to affect the relatively addressed
subscriptions, but it doesn't seem to.

<node name="publiser" pkg="hwu_meta_data" type="publisher_node.py"/>
    
<!-- the following subscriber does not hear the publisher because it's
in the wrong namespace -->
<node ns="subnamespace2" name="ns_subscriber" pkg="hwu_meta_data"
type="subscriber_node.py" output="screen"/>
    
<!-- the remap moves BOTH the node AND its associated meta_data -->
<remap from="subnamespace3" to="/"/>
<node ns="subnamespace3" name="remapped_ns_subcriber"
pkg="hwu_meta_data" type="subscriber_node.py" output="screen"/>


Is that deliberate or am I doing something wrong?

--
====================================================
Post Doctoral Research Associate at Heriot-Watt Ocean Systems Lab
PANDORA: persistenly autonomous AUVs, http://persistentautonomy.com/
Member of Edinburgh Hacklab, http://edinburghhacklab.com
====================================================