Rviz not showing any output in operation with kitti rosbag and RTAB?
Hi i am planning to do this demo:https://github.com/introlab/rtab... Below is the launch file , I have written .I am not able to visualise the result in rviz . Error is no transforms is found between the different links , But rosbag already records those transforms right ? I am not sure what i am missing. I am using kitti dataset for the demo
<launch>
<include file="$(find rtabmap_ros)/launch/rtabmap.launch">
<arg name="stereo" value="true"/>
<arg name="left_image_topic" value="/kitti/camera_color_left/image_raw"/>
<arg name="right_image_topic" value="/kitti/camera_color_right/image_raw"/>
<arg name="left_camera_info_topic" value="/kitti/camera_color_left/camera_info"/>
<arg name="right_camera_info_topic" value="/kitti/camera_color_right/camera_info"/>
<arg name="rtabmap_args" value="--delete_db_on_start"/>
<arg name="approx_sync" value="true"/>
<arg name="frame_id" value="base_link"/>
<arg name="use_sim_time" value="true"/>
<!--Here if you want rviz visualisation set raviz to true and rtabmap to false vice versa-->
<arg name="rviz" value="true"/>
<arg name="rtabmapviz" value="false"/>
<!-- -->
<arg name="rgbd_sync" value="true"/>
<arg name="approx_rgbd_sync" value="true"/>
<arg name="subscribe_scan" value="true"/>
<arg name="odom_frame_id" value="world"/>
<arg name="odom_topic" value="/rtabmap/odom"/>
<arg name="imu_topic" value="/kitti/oxts/imu"/>
<arg name="gps_topic" value="/kitti/oxts/gps/fix"/>
</include>
<node pkg="rosbag" type="play" name="player" output="screen" args=" $(find project2pcl)/rosbag/kitti_2011_09_26_drive_0005_synced.bag"/>
<node pkg="pointcloud_to_laserscan" type="pointcloud_to_laserscan_node" name="pointcloud_to_laserscan">
<remap from="cloud_in" to="/kitti/velo/pointcloud"/>
<!--remap from="scan" to="/camera/scan" /-->
</node>
</launch>
update 1-
launch file
<?xml version="1.0"?>
<launch>
<!--node name="rviz" pkg="rviz" type="rviz" args="-d $(find project2pcl)/rviz/rtab2d.rviz"/-->
<include file="$(find rtabmap_ros)/launch/rtabmap.launch">
<arg name="stereo" value="true"/>
<arg name="left_image_topic" value="/kitti/camera_color_left/image_raw"/>
<arg name="right_image_topic" value="/kitti/camera_color_right/image_raw"/>
<arg name="left_camera_info_topic" value="/kitti/camera_color_left/camera_info"/>
<arg name="right_camera_info_topic" value="/kitti/camera_color_right/camera_info"/>
<arg name="rtabmap_args" value="--delete_db_on_start"/>
<arg name="approx_sync" value="true"/>
<arg name="frame_id" value="base_link"/>
<arg name="use_sim_time" value="true"/>
<!--Here if you want rviz visualisation set raviz to true and rtabmap to false vice versa-->
<arg name="rviz" value="true"/>
<arg name="rtabmapviz" value="false"/>
<!-- -->
<arg name="rgbd_sync" value="true"/>
<arg name="approx_rgbd_sync" value="true"/>
<arg name="subscribe_scan" value="true"/>
<!--<arg name="odom_frame_id" value="world"/> -->
<!--<arg name="odom_topic" value="/rtabmap/odom"/>-->
<arg name="imu_topic" value="/kitti/oxts/imu"/>
<arg name="gps_topic" value="/kitti/oxts/gps/fix"/>
<!--<arg name="visual_odometry" value="false"/> -->
</include>
<node pkg="rosbag" type="play" name="player" output="screen" args=" $(find project2pcl)/rosbag/kitti_2011_09_26_drive_0005_synced.bag"/>
<node pkg="pointcloud_to_laserscan" type="pointcloud_to_laserscan_node" name="pointcloud_to_laserscan">
<remap from="cloud_in" to="/kitti/velo/pointcloud"/>
<!--remap from="scan" to="/camera/scan" /-->
</node>
</launch>
terminal output -
... logging to /home/shyam ...