Nodelet topic connection problem
Hello everybody,
I have a little question for you. I am trying to use the navigation part of the rtabmap package but I am not able to connect topics to some nodelets.
<group ns="/stereo_camera" >
<!-- Generate a point cloud from the disparity image -->
<node pkg="nodelet" type="nodelet" name="disparity2cloud" args="load rtabmap_ros/point_cloud_xyz stereo_nodelet">
<remap from="disparity/image" to="$(arg camera)/disparity"/>
<remap from="disparity/camera_info" to="$(arg camera)/right/camera_info"/>
<remap from="cloud" to="cloudXYZ"/>
<param name="voxel_size" type="double" value="0.05"/>
<param name="decimation" type="int" value="4"/>
<param name="max_depth" type="double" value="10"/>
</node>
<!-- Create point cloud for the local planner -->
<node pkg="nodelet" type="nodelet" name="obstacles_detection" args="load rtabmap_ros/obstacles_detection stereo_nodelet">
<remap from="cloud" to="cloudXYZ"/>
<remap from="obstacles" to="/planner/planner_cloud"/>
<param name="frame_id" type="string" value="artemisBody"/>
<param name="map_frame_id" type="string" value="map"/>
<param name="min_cluster_size" type="int" value="20"/>
<param name="max_obstacles_height" type="double" value="0.0"/>
</node>
</group>
with camera=artemis/navCam
The disparity and the camera_info topic are publishing information and seem to work fine but the disparity2cloud nodelet don't suscribe to them. I don't understand why the remapping is not working.
(I guess that I have forgotten something but I really don't know what)
Thanks in advance.