关于turtlebot仿真报错The majority of dropped messages were due to..... 修改记录

本文探讨了在ROS仿真过程中雷达数据收不到的常见问题,涉及turtlebot3_lds_2d.lua配置调整和仿真时间设置。通过修改tracking_frame并启用use_sim_time,解决可能遇到的bug和调试技巧。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ros仿真过程中可能会出现类似错误,雷达数据收不到。

MessageFilter [target=odom ]: Dropped 100.00% of messages so far. Please turn the [ros.gmapping.message_filter] rosconsole logger to DEBUG for more information.

原因主要有:

1.turtlebot3_lds_2d.lua没有按需求更改

turtlebot3_lds_2d.lua文件中

tracking_frame = "base_footprint", -- imu_link, If you are using gazebo, use 'base_footprint' (libgazebo_ros_imu's bug)

根据后面的提示更改frame

2. 仿真时间设置问题

在文件中添加以下语句:(使用仿真时间)

<arg name="use_sim_time" value="true"/>

记录一下,防止忘记。

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

libenfan

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值