Hello there
I feel kind of bad asking this here, as its more an issue to do with using iai_kinect2_bridge, but I hoped someone had some experience with it that might get me out of a corner!
I want to do mapping and navigation on a real world robot I have made. I have a model in urdf as well as the real bot. The problem comes when trying to link up the tf's for the output of kinect2_bridge with the relevant tf on the robot. The below linked documents shows what my tf tree and launch files look like. As you can see the tf's generated by kinect2_bridge are not attached to the robot tree at the shelf1 link, and just float up at the top right. However I cannot find a way to make them link. Is it just a parameter of some kind in the launch file?
frames1.pdfrtabmap.launchIn the urdf I simply have the xacro entry for the
iai_kinect2_description.urdf.xacro, which works to pull their kinect model into the urdf, and its parent is defined as the shelf it sits on as illustrated in the tree. If needed I can post the urdf.
If I have left any needed info out please ask and I will post it.
Thanks!
EDIT: Additional rtabmap error info in case it is useful:
/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"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=10).
/rtabmap/rtabmap subscribed to (approx sync):
/kinect2/hd/image_color,
/kinect2/hd/image_depth_rect,
/kinect2/hd/camera_info,
/scan
/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"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=10).
/rtabmap/rtabmapviz subscribed to (approx sync):
/base_controller/odom,
/camera/data_throttled_image/compressed,
/camera/data_throttled_image_depth/compressedDepth,
/camera/data_throttled_camera_info,
/base_scan
The topics are publishing, but RVIZ and rtabmap cannot link to them, I am assuming due to the tf issue.