Fast-livo2 gazebo仿真实践记录

前言

记录fast-livo2的仿真主要修改一些参数

config

config文件夹里有雷达和相机的yaml文件,主要是内参

相机

bash 复制代码
rostopic echo -n 1 /camera/color/camera_info > camera_info.yaml

运行这个代码出现相机的yaml文件

K = | fx 0 cx |

| 0 fy cy |

| 0 0 1 |

畸变看D

主要看k然后填写,同时确认分辨率的问题,我的是640x480,还有1280的这个需要修改

雷达

接下来解决雷达yaml文件的参数

这里我的TF坐标没有出来信息,只能根据sdf进行估计

使用TF:

bash 复制代码
rosrun tf tf_echo camera_link lidar_link

还可以找插件

bash 复制代码
ignition::math::Pose3d sensor_pose;

自己估计

bash 复制代码
<link name='/imu_link'>
  <pose>0 0 0 0 0 0</pose>
</link>

<joint name='/imu_joint' type='revolute'>
  <parent>base_link</parent>
  <child>/imu_link</child>
</joint>

IMU 和 base_link 完全重合

bash 复制代码
<include>
  <uri>model://D435i</uri>
  <pose>0.12 0 0 1.5708 0 1.5708</pose>
</include>

<joint name="realsense_camera_joint" type="fixed">
  <parent>iris::base_link</parent>
  <child>D435i::camera_link</child>
</joint>
bash 复制代码
<include>
  <uri>model://Mid360</uri>
  <pose>0 0 0.05 0 0 0</pose>
</include>

<joint name="livox_joint" type="fixed">
  <parent>iris::base_link</parent>
  <child>Mid360::livox_base</child>
</joint>

相机和IMU:

bash 复制代码
extrinsic_T: [0.12, 0.0, 0.0]

接下来就是计算,这个是仿真粗略标定

基本上就是这个简单实现

相关推荐
Java牛马3 分钟前
AI Agent 技术栈梳理(Skill / 蒸馏 / MCP / Harness)
人工智能·ai agent·蒸馏·skill·mcp·harness
IT_陈寒17 分钟前
Vue的computed属性把我坑惨了,原来我一直用错姿势
前端·人工智能·后端
千维百策66620 分钟前
降低 AI 辅助开发摩擦的五种模式
人工智能
有脚就行31 分钟前
第38篇-LLM-API网关进阶-流式代理与内容安全
人工智能
w57w00041 分钟前
AI可见度监测方案选型:电商、媒体公关、全球市场等场景的差异化需求与避坑指南
人工智能
stormzhangV1 小时前
这个本地模型,让我 token 自由了
人工智能·ai编程·claude
wen_zhufeng1 小时前
IndexTTS 2.5 技术报告
人工智能·算法·机器学习
Mark-Wang1 小时前
每天介绍一家新质生产力公司4
人工智能
2501_944676161 小时前
揭秘!WORDTIP公司靠不靠谱?小白必看
大数据·人工智能·python
AI视觉网奇1 小时前
智能办公 大模型总结
人工智能