Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTAB-Map Visualization Issue with Livox LiDAR #1

Open
Hezhexi2002 opened this issue May 7, 2024 · 1 comment
Open

RTAB-Map Visualization Issue with Livox LiDAR #1

Hezhexi2002 opened this issue May 7, 2024 · 1 comment

Comments

@Hezhexi2002
Copy link

I'm having an issue with RTAB-Map visualization when using the Livox LiDAR. After launching the Livox driver and then running the rtabmap_livox.launch.py package, the RTAB-Map RViz visualization does not display any map. Additionally, I'm receiving the following warnings in the terminal:

[rtabmap-3] [WARN] [1715096732.958434813] [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). Parameter "approx_sync" is false, which means that input topics should have all the exact timestamp for the callback to be called.
[rtabmap-3] rtabmap subscribed to (exact sync):
[rtabmap-3]    /odom \
[rtabmap-3]    /assembled_cloud
[rtabmap_viz-4] [WARN] [1715096733.058976163] [rtabmap_viz]: rtabmap_viz: 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). Parameter "approx_sync" is false, which means that input topics should have all the exact timestamp for the callback to be called.
[rtabmap_viz-4] rtabmap_viz subscribed to (exact sync):
[rtabmap_viz-4]    /odom_filtered_input_scan \
[rtabmap_viz-4]    /odom_info

I've attached a screenshot of my current RQT Graph for reference.
rosgraph
my current RQT Graph looks normal, as shown in the attached screenshot. I'm wondering if I need to run any additional algorithms to provide odometry information before launching this package.
Could you please help me understand if any additional setup or configuration is required before running the rtabmap_livox.launch.py package with the Livox LiDAR?
Any assistance would be greatly appreciated.

@Joao8bit
Copy link

Hi! I'm a student doing part-time with the snt-spacer group, I found the same issue by following the README file, but found the solution. The problem is that the LeoRover model from the README refers to the official one, which does not include the Livox Lidar component, please refer to the leo-common-ros2 snt-spacer repository instead to get the correct leo_description.
(Here: https://github.com/snt-spacer/leo_common-ros2.git)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants