livox_mapping icon indicating copy to clipboard operation
livox_mapping copied to clipboard

Error transforming odometry 'Odometry' from frame '/camera_init' to frame 'camera_init'

Open laurojljunior opened this issue 4 years ago • 6 comments

I'm getting this error on rviz when running the launch file for livox_horizon and because of that I cannot see the mapped pointcloud on rviz. How to fix that? Thanks

laurojljunior avatar Oct 06 '20 00:10 laurojljunior

Hi, this problem may be caused by ROS you are using. You can change the topic name "camera_init" to "/camera_init" manually in livox_mapping/rviz_cfg/loam_livox.rviz.

Livox-SDK avatar Nov 02 '20 06:11 Livox-SDK

Hi, this problem may be caused by ROS you are using. You can change the topic name "camera_init" to "/camera_init" manually in livox_mapping/rviz_cfg/loam_livox.rviz.

I change that name,but didn't solve the problem

huangsiyuan0717 avatar Nov 06 '20 08:11 huangsiyuan0717

May you can see here https://github.com/laboshinl/loam_velodyne/issues/157

linhaigoo avatar Mar 07 '21 06:03 linhaigoo

Same problem here, tried //camera_init doesn't work. Terminal will output warning message: "Invalid argument "/camera_init" passed to canTransform argument target_frame in tf2 frame_ids cannot start with a '/' like:"

yhzyhzyhz avatar Apr 03 '21 04:04 yhzyhzyhz

Hi all, I think this issue is caused by the Ros version, please change the topic name "camera_init" to "/camera_init" manually in both livox_mapping/rviz_cfg/loam_livox.rviz. and in launch file

Livox-SDK avatar Jun 17 '21 12:06 Livox-SDK

I just flow below, change all /camera_init to camera_init in the code, and it work fine. https://github.com/laboshinl/loam_velodyne/issues/157#issuecomment-851150976

ZuoAnZoom avatar Jan 07 '22 17:01 ZuoAnZoom