Skip to content

Latest commit

 

History

History
76 lines (38 loc) · 1.64 KB

LIO-SAM运行.md

File metadata and controls

76 lines (38 loc) · 1.64 KB

LIO-SAM运行

part1:数据集运行

1.环境变量

source devel/setup.bash

2.启动lio-sam功能包

roslaunch lio_sam run.launch

3.播放数据集

rosbag play outdoor.bag

part2:实测运行

1.打开config文件夹下的参数文件params,修改imu和点云话题

10 sam:  # Topics  pointCloudTopic: "/points raw"  # pointCloudTopic: "/velodyne_points"  imuTopic: "/imu/data"  # imuTopic: "imu correct"  # imuTopic: "imu raw"  odomTopic: "odometry/imu"  gpsTopic: "odometry/gpsz"  # Point cloud data  # IMIJ data  # IMIJ pre-preintegration odometry, same frequency as IMIJ  # GPS odometry topic from navsat, see module navsat.launch file

2.修改imu矫正参数

#IMU Settings  imuAccNoise: 1.9740799873834897e-02  imuGyrNoise: 2,3704854385698929+03  imuAccBiasN: 4.3015781912824339+04  imuGyrBiasN: 2.6685224155471368+05  imuGravity: 9.80511  imuRPYWeight: 0.01  imuAccNoise: 3,9939570888238808+03  imuGyrNoise: 1.5636343949698187e-03  imuAccBiasN: 6,4356659353532566+05  imuGyrBiasN: 3.5640318696367613e-05  imuGravity: 9.80511  imuRPYWeight: 0.01

3.修改激光雷达到imu标定参数

[png]

4.添加环境变量

source devel/setup.bash

5.启动xsens

sudo chmod 777 /dev/ttyUSB\*
roslaunch xsens_mti_driver xsens_mti_node.launch

6.启动激光雷达

roslaunch velodyne_pointcloud velodyne_vlp16.launch

7.启动LIO-SAM

roslaunch lio_sam run.launch