Complete the code to define the static layer plugin in the costmap configuration.
plugins:
- {name: static_layer, type: [1]The static layer plugin is specified by costmap_2d::StaticLayer in the costmap configuration.
Complete the code to set the inflation radius parameter.
inflation:
inflation_radius: [1]The inflation radius defines how far the costmap inflates obstacles. A common default is 1.0 meter.
Fix the error in the obstacle layer plugin type.
plugins:
- {name: obstacle_layer, type: [1]The obstacle layer plugin must be costmap_2d::ObstacleLayer to detect dynamic obstacles.
Fill both blanks to configure the inflation layer's cost scaling factor and inflation radius.
inflation: cost_scaling_factor: [1] inflation_radius: [2]
The cost scaling factor controls how quickly costs drop off, often set to 10.0. The inflation radius defines the inflation distance, here 0.5 meters.
Fill all three blanks to define plugins for static, obstacle, and inflation layers respectively.
plugins:
- {name: static_layer, type: [1]
- {name: obstacle_layer, type: [2]
- {name: inflation_layer, type: [3]The static layer uses StaticLayer, obstacle layer uses ObstacleLayer, and inflation layer uses InflationLayer plugins.
