Ericsii / FAST_LIO_ROS2

ROS2 version of FAST_LIO2. Welcome to the technical communication discord server discord: https://discord.gg/U3B65MGH8m
GNU General Public License v2.0
146 stars 34 forks source link

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

Closed NicholasTanYY closed 1 week ago

NicholasTanYY commented 2 months ago

Hello @Ericsii ,

I'm trying to get the Livox Mid360 Lidar to run on my computer but am currently unable to get any output in Rviz. When I run the commands 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, I get the result shown in the following image, with nothing appearing in the Rviz display.

Screenshot from 2024-08-29 19-26-54

I have provided more details in this issue in the main FAST_LIO repo. Would really appreciate any assistance!

Ericsii commented 2 months ago

You are using a wrong configuration. Please replace the mid360.yaml by this new configuration file https://github.com/Ericsii/FAST_LIO_ROS2/blob/ros2/config/mid360.yaml

Ericsii commented 2 months ago

You are using a wrong configuration. Please replace the mid360.yaml by this new configuration file https://github.com/Ericsii/FAST_LIO_ROS2/blob/ros2/config/mid360.yaml

This is because you used a wrong lidar_type. Just simply set the lidar_type to 1 will also solve your problem