Run FAST-LIO with mid-360

Issue

Tasks

Software & Hardware Setup

Software Setup

Refer to this link for project repo Git Link

Pre-req:

Ubuntu 18.04 or higher, the default PCL and Eigen is enough

Build FAST-LIO from source:

    cd ~/$A_ROS_DIR$/src
   git
clone https://github.com/hku-mars/FAST_LIO.git
   
cd FAST_LIO
   git submodule update --init
   
cd ../..
   catkin_make
   
source devel/setup.bash

comment: Remember to source the livox_ros_driver

Necessary source command to have in ~/.bashrc:

    source /opt/ros/noetic/setup.bash

    source /path/to/ws_livox/devel/setup.bash

    source /path/to/catkin_ws/devel/setup.bash

Hardware Setup

Refer to this quick start manual Doc Link

Static Method ip Setting

  1. select manual option
  2. set the Address/Netmask/Gateway
  3. Click apply

  1. connect ethernet port
  2. connect power cable

     sudo service network-manager restart

  1. execute the shell script to find the right network

for i in {100..199}; do
  (
          
if ping -c 1 -W 1 192.168.1.$i > /dev/null 2>&1; then
              
echo "192.168.1.$i is up"
          
else
              
echo "192.168.1.$i is down"
          
fi
  ) &
done
wait

  1. ping 192.168.1.158 (your lidar ip address found)

Test Runs

launch sample FAST-LIO test:

sample livox-360 rosbag file: Drive Link

  1. [terminal 1]

rosbag play -l <path to bag file>

  1. [terminal 2]

roslaunch fast_lio mapping_mid360.launch

Run mid-360 with FAST-LIO:

  1. set ip address in config

in /path/to/ws_livox/src/livox_ros_driver2/config/MID360_config.json

  1. Launch rviz to inspect data reception

     roslaunch livox_ros_driver2 rviz_MID360.launch

  1. Launch mid-360 with FAST-LIO

           roslaunch livox_ros_driver2 msg_MID360.launch

           roslaunch fast_lio mapping_mid360.launch

Test