ROS导航TF变换时间戳报错

[ERROR] [1700700067.452600455, 1377.380000000]: Extrapolation Error: Lookup would require extrapolation 0.005000000s into the future.  Requested time 1377.380000000 but the latest data is at time 1377.375000000, when looking up transform from frame [odom] to frame [map]

[ERROR] [1700700067.452646719, 1377.380000000]: Global Frame: odom Plan Frame size 255: map

[ WARN] [1700700067.452671970, 1377.380000000]: Could not transform the global plan to the frame of the controller
[ WARN] [1700700067.452734990, 1377.380000000]: No velocity command received from controller! Could not transform the global plan to the frame of the controller

原因:AMCL中odom到map的tf变换太慢,达不到导航的要求

解决:

        由于激光雷达的采样频率太低造成的,仿真环境下可以在雷达的xacro文件中调高雷达扫描频率到20Hz ;

        真实环境中可以查一下雷达型号的扫描频率,如果是10Hz,可能达不到精确导航的要求,只能将local_costmap的global_frame改为和global_costmap的global_frame一样,都用map,按官方的设定是将global_costmap的global_frame设为map,local_costmap的global_frame设为odom,以实现更好的局部避障效果。

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值