Skip to content

Commit

Permalink
fix(avoidance): fix wrong reason for unavoidable situation
Browse files Browse the repository at this point in the history
Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota committed Nov 13, 2023
1 parent d749a7d commit e3b0b0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ AvoidOutlines AvoidanceModule::generateAvoidOutline(
if (feasible) {
RCLCPP_WARN_THROTTLE(
getLogger(), *clock_, 1000, "feasible shift length is not enough to avoid. ");
object.reason = AvoidanceDebugFactor::INSUFFICIENT_LATERAL_MARGIN;
object.reason = AvoidanceDebugFactor::TOO_LARGE_JERK;

Check warning on line 1006 in planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp

View check run for this annotation

Codecov / codecov/patch

planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp#L1006

Added line #L1006 was not covered by tests
return boost::none;
}

Expand Down

0 comments on commit e3b0b0b

Please sign in to comment.