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]

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

基本上就是这个简单实现

相关推荐
合尘猫22 分钟前
用 6GB 显卡搭短视频产线:MiniMax H3 + ffmpeg 全流程实录(55 秒片 / 40 分钟)
人工智能·音视频
ZONGYUAN-ROOT28 分钟前
【自愈治理】自愈式数据管道:大规模公开数据采集的治理方法
人工智能
Starry-sky(jing)35 分钟前
Hermes Agent 升级 v0.23.2:先辨更新渠道,再看 CLI 退出残留修复
人工智能·python·ai agent
oil欧哟1 小时前
AI Agent Skill 入门指南:文件夹本质、渐进式加载与挑选方法
人工智能·ai编程
百度Geek说1 小时前
从代码生成到需求交付:DarkFactory 的工程实践
人工智能
Baihai_IDP1 小时前
使用场景不同,模型“推理速度慢”的原因也不同
人工智能·面试·llm
挖掘狂人2 小时前
AI 三分钟写完的代码,你凭什么敢直接上线?
人工智能·程序员·ai编程
墨林陌2 小时前
AI 热点日报(2026-11-20):苹果自研 AI 智能体曝光,Anthropic 上市首日大涨,智能体支付落地
人工智能
AAA修煤气灶刘哥2 小时前
32 GB 内存跑起 1800 亿参数模型,代价是什么?
人工智能·后端·架构