Added RivalLayer and finished GameElementLayer
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
global_costmap:
|
||||
ros__parameters:
|
||||
update_frequency: 1.0
|
||||
publish_frequency: 1.0
|
||||
update_frequency: 10.0
|
||||
publish_frequency: 10.0
|
||||
global_frame: map
|
||||
robot_base_frame: base_link
|
||||
robot_radius: 0.17
|
||||
resolution: 0.01
|
||||
track_unknown_space: false
|
||||
rolling_window: false
|
||||
plugins: ["static_layer", "inflation_layer"]
|
||||
plugins: ["static_layer", "game_element_layer", "rival_layer", "inflation_layer"]
|
||||
static_layer:
|
||||
plugin: "nav2_costmap_2d::StaticLayer"
|
||||
map_subscribe_transient_local: True
|
||||
@@ -16,6 +16,12 @@ global_costmap:
|
||||
plugin: "nav2_costmap_2d::InflationLayer"
|
||||
cost_scaling_factor: 3.0
|
||||
inflation_radius: 0.23
|
||||
game_element_layer:
|
||||
plugin: "toid::GameElementLayer"
|
||||
extra_elements: ["blue"]
|
||||
rival_layer:
|
||||
plugin: "toid::RivalLayer"
|
||||
rival_size: 0.15
|
||||
always_send_full_costmap: True
|
||||
|
||||
lifecycle_manager:
|
||||
|
||||
Reference in New Issue
Block a user