玩转树莓派人工智能时代(AI)ROS自主导航机器人

ROS机器人底盘(17)-move_base(5)-inflati

2018-01-25  本文已影响141人  PIBOT导航机器人

ROS机器人底盘(15)-move_base(3)-costmap介绍的local_costmapglobal_costmap的参数
漏了其中的plugin参数

inflation

先看下官方的图


costmapspec cost_value

每个网格的值从0~255

上图坐标中的红色衰减曲线就标识网格离障碍的距离与cost_value的关系,计算方法具体如下

computeCost

参数

inflation_layer:
  cost_scaling_factor:  2.5  # exponential rate at which the obstacle cost drops off (default: 10)
  inflation_radius:     1.2  # max. distance from an obstacle at which costs are incurred for planning paths.
上一篇 下一篇

猜你喜欢

热点阅读