hku-mars / FAST_LIO

A computationally efficient and robust LiDAR-inertial odometry (LIO) package
GNU General Public License v2.0
2.77k stars 934 forks source link

No pointcloud output in Rviz running Livox Mid-360 on ROS 2 Humble #354

Closed NicholasTanYY closed 2 months ago

NicholasTanYY commented 2 months ago

Hello, I'm trying to get the Livox Mid360 Lidar to run on my computer but am currently unable to get any output in Rviz.

Operating System: Pop!_OS 22.04 LTS Lidar: Livox Mid-360 ROS 2 version: Humble

Steps taken to setup dependencies:

  1. Setup Livox-SDK2 --> verified that the quick start program runs without errors.
  2. Setup livox_ros_driver2 and built project using ./build.sh humble --> verified that msg_MID360.launch publishes ros2 topics and rviz_MID360.launch shows point cloud in rviz.
  3. Installed pcl using sudo apt install libpcl-dev and eigen using sudo apt install libeigen3-dev
  4. Followed build guide for FAST_LIO

Steps taken to run project

  1. Build project using colcon build --packages-select fast_lio
  2. Ran ros2 launch livox_ros_driver2 msg_MID360_launch.py in the right terminal and ros2 launch fast_lio mapping.launch.py config_file:=mid360.yaml in the left terminal
    Screenshot from 2024-08-29 19-26-54 Nothing appears in this Rviz window.

Others

Noted that the IMU and LiDAR are synchronized by PTP Sync from LivoxViewer2.

Screenshot from 2024-08-29 19-31-15

Here is my configuration for config/mid360.yaml

image

I'm quite new to this, so any advice would be appreciated. Thanks!

stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.