Skip to content

Commit

Permalink
Update default recommendation from Obstacles to Cost critic in MPPI (#…
Browse files Browse the repository at this point in the history
…4170)

Signed-off-by: Steve Macenski <[email protected]>
  • Loading branch information
SteveMacenski authored Mar 7, 2024
1 parent 2636371 commit c9d9b5c
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions nav2_mppi_controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ controller_server:
time_step: 3
AckermannConstraints:
min_turning_r: 0.2
critics: ["ConstraintCritic", "ObstaclesCritic", "GoalCritic", "GoalAngleCritic", "PathAlignCritic", "PathFollowCritic", "PathAngleCritic", "PreferForwardCritic"]
critics: ["ConstraintCritic", "CostCritic", "GoalCritic", "GoalAngleCritic", "PathAlignCritic", "PathFollowCritic", "PathAngleCritic", "PreferForwardCritic"]
ConstraintCritic:
enabled: true
cost_power: 1
Expand All @@ -221,24 +221,24 @@ controller_server:
cost_power: 1
cost_weight: 5.0
threshold_to_consider: 0.5
ObstaclesCritic:
enabled: true
cost_power: 1
repulsion_weight: 1.5
critical_weight: 20.0
consider_footprint: false
collision_cost: 10000.0
collision_margin_distance: 0.1
near_goal_distance: 0.5
# Option to replace Obstacles and use Cost instead
# CostCritic:
# ObstaclesCritic:
# enabled: true
# cost_power: 1
# cost_weight: 3.81
# critical_cost: 300.0
# consider_footprint: true
# collision_cost: 1000000.0
# near_goal_distance: 1.0
# repulsion_weight: 1.5
# critical_weight: 20.0
# consider_footprint: false
# collision_cost: 10000.0
# collision_margin_distance: 0.1
# near_goal_distance: 0.5
CostCritic:
enabled: true
cost_power: 1
cost_weight: 3.81
critical_cost: 300.0
consider_footprint: true
collision_cost: 1000000.0
near_goal_distance: 1.0
PathAlignCritic:
PathAlignCritic:
enabled: true
cost_power: 1
Expand Down

0 comments on commit c9d9b5c

Please sign in to comment.