ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

How to view lidar in odom frame

asked 2021-02-17 02:10:49 -0600

Gherkins gravatar image

I'm using a livox horizon and I can view the lidar data in the base_link frame, but when I switch to the odom frame I get an error in rviz that the message is too old. When I check it in rqt I see that the lidar has a timestamp of 2000 seconds and the other sensors have a timestamp of 1613549391. The lidar is connected with a utp cable.

How do I transform it so it's viewable in the odom frame?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-08 00:46:48 -0600

Enjoy_Robotics gravatar image

updated 2023-06-08 00:47:57 -0600

Hello, The issue is the timestamp of Livox Lidar. You can use the following commands to synchronize the time stamp of Livox with ROS

$ sudo apt install ptpd

$ sudo ptpd -M -i "your network adaper name" -C

For example: sudo ptpd -M -i enp8s0 -C

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-02-17 02:10:49 -0600

Seen: 294 times

Last updated: Jun 08 '23