kitti rosbag rtabmap_ros
i download kitti kitti_2011_09_26_drive_0001_synced and use kitti2bag python make it become kitti_2011_09_26_drive_0001_synced.bag In ORBslam2 ,it works well. So i try to us rtabmap_ros my roslanuch:
< launch>
< node pkg="rosbag" type="play" name="stereo_camera" output="screen" args="--loop --clock /home/harold/rosbag/kitti_2011_09_26_drive_0001_synced.bag">
< remap from="/kitti/camera_color_left/image_raw" to="/stereo_camera/left/image_raw"/>
< remap from="/kitti/camera_color_right/image_raw" to="/stereo_camera/right/image_raw"/>
< remap from="/kitti/camera_color_left/camera_info" to="/stereo_camera/left/camera_info"/>
< remap from="/kitti/camera_color_right/camera_info" to="/stereo_camera/right/camera_info"/>
< remap from="/tf" to="/stereo_camera/tf"/>
< remap from="/tf_static" to="/stereo_camera/tf_static"/>
< /node>
< !-- Rotate the camera frame. -->
< arg name="pi/2" value="1.5707963267948966" />
< arg name="optical_rotate" value="0 0 0 -$(arg pi/2) 0 -$(arg pi/2)" />
< node pkg="tf" type="static_transform_publisher" name="camera_base_link" output="screen"
args="$(arg optical_rotate) base_link stereo_camera 100" />
< group ns="/stereo_camera" >
< node pkg="stereo_image_proc" type="stereo_image_proc" name="stereo_image_proc"/>
< /group>
< /launch>
(some space becuase it will disappear) i run rtab_map:
roslaunch rtabmap_ros stereo_mapping.launch stereo_namespace:="/stereo_camera" rtabmap_args:="--delete_db_on_start" approximate_sync:=true
then i get:
[ WARN] [1563896739.041306891]: /rtabmap/stereo_odometry: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. Parameter "approx_sync" is false, which means that input topics should have all the exact timestamp for the callback to be called.
/rtabmap/stereo_odometry subscribed to (exact sync):
/stereo_camera/left/image_rect_color,
/stereo_camera/right/image_rect,
/stereo_camera/left/camera_info,
/stereo_camera/right/camera_info
[ WARN] [1563896735.981168926]: /rtabmap/rtabmapviz: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). Parameter "approx_sync" is false, which means that input topics should have all the exact timestamp for the callback to be called.
/rtabmap/rtabmapviz subscribed to (exact sync):
/odom,
/stereo_camera/left/image_rect_color,
/stereo_camera/right/image_rect,
/stereo_camera/left/camera_info,
/stereo_camera/right/camera_info,
/rtabmap/odom_info
[ WARN] [1563896736.761637361]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). Parameter "approx_sync" is false, which means that input topics should have all the exact timestamp for the callback to be called.
/rtabmap/rtabmap subscribed to (exact sync):
/odom,
/stereo_camera/left/image_rect_color,
/stereo_camera/right/image_rect,
/stereo_camera/left/camera_info,
/stereo_camera/right/camera_info,
/rtabmap/odom_info
*i have every topic it mentioned But /odom and /odom_info have no new message *