HesaiTechnology / HesaiLidar_General_SDK

Development Kit for PandarXT PandarQT Pandar64 Pandar40P Pandar40M Pandar20A Pandar20B
BSD 2-Clause "Simplified" License
72 stars 36 forks source link

Simple tf causes "Message removed because it is too old" #9

Closed aidenyao closed 3 years ago

aidenyao commented 3 years ago

Hi,

I have added very simple static tf publisher in "hesai_lidar.launch" but PointCloud2() is not published with the error saying "Message removed because it is too old".

This is the 1-line code I added to the launch file: node pkg="tf" type="static_transform_publisher" name="hesai64_link" args="1 0 1 0 0.785398 0 base_link hesai64_link 100 The PointCloud2 was displayed when Fixed Frame set "hesai64_link ", but when Fixed Frame set "base_link ", show error "Message removed because it is too old"。

I have checked tf tree but it looks fine. As this is not rosbag, typical answer to this error such as "set /use_simu_time true" does not work.

It would be highly appreciated if someone can provide a solution to this issue.

aidenyao commented 3 years ago