Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Remaping topics doesn't work

Hi I'm using Ros and I have some Camera-Data on topic

    /kinect2/sd/points

now I want to remap them to

      /camera/depth/points

Here the code I use:

<include file="$(find kinect2_bridge)/launch/kinect2_bridge.launch">
    <param name = "_depth_method"   value="cuda" />
    <param name = "_reg_method"     value="cpu" />
    <remap from="/camera/depth/points"  to="/kinect2/sd/points"/>

Now if I listen with "rotopic echo" to the topic of "kinect2/sd/points" I got many output. But if I listen to the topic "/camera/depth/points" I get no Data.

Can anybody help me is the order of the remap right=? </include>

Remaping topics doesn't work

Hi I'm using Ros and I have some Camera-Data on topic

    /kinect2/sd/points

now I want to remap them to

      /camera/depth/points

Here the code I use:

<include file="$(find kinect2_bridge)/launch/kinect2_bridge.launch">
    <param name = "_depth_method"   value="cuda" />
    <param name = "_reg_method"     value="cpu" />
    <remap from="/camera/depth/points"  to="/kinect2/sd/points"/>
to="/kinect2/sd/points"/> 
</include>

Now if I listen with "rotopic echo" to the topic of "kinect2/sd/points" I got many output. But if I listen to the topic "/camera/depth/points" I get no Data.

Can anybody help me is the order of the remap right=? </include>right=?