fast-lio2复现:使用livox_avia

安装依赖以及ceres

sudo apt-get install libsuitesparse-dev
git clone https://github.com/ceres-solver/ceres-solver/archive/1.14.0.zip
cd ~/你新建的文件夹/ceres-solver-1.14.0
mkdir ceres-bin && cd ceres-bin
cmake …
sudo make install -j4
cd ~

下载livox_ros_driver,fast-lio2并编译

git clone https://github.com/hku-mars/FAST_LIO.git Fast_Lio_ws/src
git clone https://github.com/Livox-SDK/livox_ros_driver.git
cd …
catkin_make

运行

cd ~/$Fast_Lio_ws$
source devel/setup.bash
roslaunch fast_lio mapping_avia.launch
roslaunch livox_ros_driver livox_lidar_msg.launch

效果

lio_livox运行()待完善

直接使用驱动livox_lidar.launch,拉起激光雷达获得的是sensor_msgs::PointCloud2,扫描形式为旋转。
此时无论拉起horizon.launch 还是 hap.launch 均会出现所需消息类型不匹配问题。所需类型为livox_ros_driver::CustomMsg

可尝试的解决方案:1、先修改激光雷达驱动中发布的消息类型;2、之后再使用livox_viewer对激光雷达扫描形式进行修改。将激光雷达设置为重复扫描模式再尝试。

接下来的安排:1,再阅读关于驱动的文档,是否有关于更改发布的消息类型的说明,2、有则执行上述解决方案,无则更改算法文件配置中的雷达类型再执行上述方案。

更改发布的消息类型:livox_lidar_msg.launch Connect to Livox LiDAR device Publish livox customized pointcloud data

重复扫描图案设置:
在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
[1.0, 0.0, 0.0, -0.04165,
0.0, 1.0, 0.0, -0.02326,
0.0, 0.0, 1.0, 0.02840,
0.0, 0.0, 0.0, 1.0]
学校主楼后的校友林
在这里插入图片描述在这里插入图片描述

  • 1
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值