• gazebo仿真踩坑--rviz中设定机器人的目标位置,move_base后台日志报错


    启动仿真环境及各种节点(amcl,move_base,map_server)后,在rviz中设定机器人的目标位置,后台日志报错

    [ INFO] [1571974242.864525935, 40.511000000]: Got new plan
    [ERROR] [1571974242.964186066, 40.612000000]: Extrapolation Error: Lookup would require extrapolation into the future.  Requested time 40.585000000 but the latest data is at time 40.521000000, when looking up transform from frame [odom] to frame [map]

    解决:move_base的包的版本有问题(用的是melodic),用kinetic的版本,重新加到navigation的文件夹下,重新编译即可

    下载地址:https://github.com/ros-planning/navigation

    问题2:

    [WARN]Map update loop missed its desired rate of 10.0000Hz... the loop actually to took 0.1665 seconds

    解决:修改move_base.launch文件中的频率,使其低于实际的回环的频率即可,这里改为5Hz就可以了

     <node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
        <param name="base_local_planner" value="dwa_local_planner/DWAPlannerROS" />
        <param name="controller_frequency" value="5.0"/>
        <param name="controller_patiente" value="15.0"/>

     问题4:

    gazebo仿真可以用来建图,但是进行amcl定位的时候,不需要开gazebo仿真环境(重点是很耗内存,电脑风扇一度呼呼直响~~),还必须得开高性能模式,不然根本起不来

    -----------更新

    问题3:

    [ WARN] [1571977808.693309245, 5.969000000]: local_costmap: Parameter "plugins" not provided, loading pre-Hydro parameters

     时间比较久,复现不了问题,建议移步下面的链接解决

     https://answers.ros.org/question/343886/plugin-warning-in-move_base/ 

  • 相关阅读:
    记一次网易前端实习面试
    你知道吗?Web的26项基本概念和技术
    CSS 颜色代码大全
    研究旧项目, 常用 sql 语句
    Asp.net core 学习笔记 QR code and Barcode
    Html to PDF
    Asp.net core 学习笔记 Node Service
    Asp.net core Identity + identity server + angular + odata + 权限管理
    Angular Material (Components Cdk) 学习笔记 Table
    es6 getter setter
  • 原文地址:https://www.cnblogs.com/havain/p/11737363.html
Copyright © 2020-2023  润新知