ROS警告解决local_costmap: Pre-Hydro parameter “static_map“ unused since “plugins“ is provided

在ROS机器人仿真运行过程中出现static_map和map_type的警告,它们是因为ROS中已经提供了这两个的插件,我们又在move_base的参数文件中设置了但没用到,只需要删除掉即可

在这里插入图片描述


1.local_costmap或者global_costmap: Pre-Hydro parameter "static_map" unused since "plugins" is provided

解决办法:在move_base包中找到local_costmap_params.yaml和global_costmap_params.yaml文件打开
在这里插入图片描述
删掉“static_map:false”这一行
2.local_costmap和global_costmap: Pre-Hydro parameter "map_type" unused since "plugins" is provided

解决办法:在move_base包中找到costmap_common_params.yaml文件打开
在这里插入图片描述
删除“map_type: costmap”这一行
修改完重新运行时可能会报警告:

Timed out waiting for transform from robot_0/base_footprint to map to become available before running costmap, tf error: . canTransform returned after 0.1 timeout was 0.1.

如果之前未报此类警告只需把虚拟机重启再运行警告就会消失。

ODES / rviz (rviz/rviz) /rb_0/ amcl (amcl/amcl) map_server (map_server/map_server) move_base (move_base/move_base) /rb_1/ amcl (amcl/amcl) map_server (map_server/map_server) move_base (move_base/move_base) ROS_MASTER_URI=http://localhost:11311 process[rb_0/map_server-1]: started with pid [29181] process[rb_0/amcl-2]: started with pid [29182] process[rb_0/move_base-3]: started with pid [29183] process[rb_1/map_server-4]: started with pid [29184] process[rb_1/amcl-5]: started with pid [29189] process[rb_1/move_base-6]: started with pid [29195] process[rviz-7]: started with pid [29202] [ WARN] [1741924358.883894229, 3053.438000000]: Timed out waiting for transform from rb_1/base_link to map to become available before running costmap, tf error: canTransform: target_frame map does not exist. canTransform: source_frame rb_1/base_link does not exist.. canTransform returned after 3053.44 timeout was 0.1. [ WARN] [1741924358.900717261, 3053.450000000]: No laser scan received (and thus no pose updates have been published) for 3053.450000 seconds. Verify that data is being published on the /rb_0/scan_full_filtered topic. [ WARN] [1741924358.900798299, 3053.450000000]: No laser scan received (and thus no pose updates have been published) for 3053.450000 seconds. Verify that data is being published on the /rb_0/scan_full_filtered topic. [ WARN] [1741924358.901443918, 3053.450000000]: No laser scan received (and thus no pose updates have been published) for 3053.450000 seconds. Verify that data is being published on the /rb_1/scan_full_filtered topic. [ WARN] [1741924358.901512249, 3053.450000000]: No laser scan received (and thus no pose updates have been published) for 3053.450000 seconds. Verify that data is being published on the /rb_1/scan_full_filtered topic. [ WARN] [1741924358.925398992, 3053.464000000]: Timed out waiting for transform from rb_0/base_link to map to become available before running costmap, tf error: canTransform: target_frame map does not exist. canTransform: source_frame rb_0/base_link does not exist.. canTransform returned after 3053.46 timeout was 0.1. [ WARN] [1741924359.897009322, 3054.073000000]: global_costmap: Pre-Hydro parameter "static_map" unused since "plugins" is provided [ WARN] [1741924359.897186684, 3054.073000000]: global_costmap: Pre-Hydro parameter "static_map" unused since "plugins" is provided [ WARN] [1741924359.897363362, 3054.073000000]: global_costmap: Pre-Hydro parameter "map_type" unused since "plugins" is provided [ WARN] [1741924359.897534662, 3054.073000000]: global_costmap: Pre-Hydro parameter "map_type" unused since "plugins" is provided [ WARN] [1741924360.310162541, 3054.333000000]: local_costmap: Pre-Hydro parameter "static_map" unused since "plugins" is provided [ WARN] [1741924360.311035775, 3054.333000000]: local_costmap: Pre-Hydro parameter "map_type" unused since "plugins" is provided [ WARN] [1741924360.311746890, 3054.333000000]: local_costmap: Pre-Hydro parameter "static_map" unused since "plugins" is provided [ WARN] [1741924360.312618386, 3054.333000000]: local_costmap: Pre-Hydro parameter "map_type" unused since "plugins" is provided [FATAL] [1741924360.379952684, 3054.373000000]: Failed to create the eband_local_planner/EBandPlannerROS planner, are you sure it is properly registered and that the containing library is built? Exception: According to the loaded plugin descriptions the class eband_local_planner/EBandPlannerROS with base class type nav_core::BaseLocalPlanner does not exist. Declared types are base_local_planner/TrajectoryPlannerROS dwa_local_planner/DWAPlannerROS wpbh_local_planner/WpbhLocalPlanner
最新发布
03-15
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值