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

Revision history [back]

I solve this moving rosparam tag within node tag and modifying ns:

<node name="costmap_node" type="costmap_2d_node" pkg="costmap_2d" output="screen">
    <rosparam file="$(find vinter_utils)/launch/costmap_params_rw.yaml" command="load" ns="costmap"/>
    <remap from="/map" to="/intersection/map"/>
</node>

I solve this moving rosparam tag within node tag and modifying ns:

<group ns="intersection">
...
<node name="costmap_node" type="costmap_2d_node" pkg="costmap_2d" output="screen">
    <rosparam file="$(find vinter_utils)/launch/costmap_params_rw.yaml" command="load" ns="costmap"/>
    <remap from="/map" to="/intersection/map"/>
</node>
...
</group>

I solve this moving rosparam tag within node tag and modifying ns:

<group ns="intersection">
...
<node name="costmap_node" type="costmap_2d_node" pkg="costmap_2d" output="screen">
    <rosparam file="$(find vinter_utils)/launch/costmap_params_rw.yaml" command="load" ns="costmap"/>
    <remap from="/map" to="/intersection/map"/>
</node>
...
</group>

EDIT: I launched the 2nd case on the question and it worked fine. That's was weird, so I think this was a dummy question :P