depthimage_to_laserscan contains tf?
I am using kinect to publish laserscan data for mapping. I used depthimagetolaserscan package to convert it. When running mapping, rviz showed no tf was found for the laserscan. Is depthimagetolaserscan contains tf when it publishs /scan? If no, then how to fuse tf into it?
Asked by SamTew on 2015-07-04 21:54:05 UTC
Answers
You need the tf link for rviz that it knows, where the laserscanner/kinect is in his coordinate system to display measured points in 3D space.
Check the frame_id in the laserscan message and set Fixed frame (rviz) to the frame_id and you should see your laserscan centered in rviz. It will stay there and any tf connected to will move arround, if it changes. Inside the laserscan message there is no tf. You just have arrays to show in which angle you messure which distance.
Maybe you will need to generate a tf from your robot to the kinect later.
Regards
Christian
Asked by cyborg-x1 on 2015-07-05 03:37:29 UTC
Comments