File tree 1 file changed +2
-2
lines changed
planning/behavior_path_planner/autoware_behavior_path_static_obstacle_avoidance_module/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1679,7 +1679,7 @@ void StaticObstacleAvoidanceModule::insertReturnDeadLine(
1679
1679
const auto min_return_distance =
1680
1680
helper_->getMinAvoidanceDistance (shift_length) + helper_->getNominalPrepareDistance (0.0 );
1681
1681
const auto to_stop_line = data.to_return_point - min_return_distance - buffer;
1682
- if (to_stop_line < 0.0 ) {
1682
+ if (to_stop_line < - 1.0 * parameters_-> stop_buffer ) {
1683
1683
RCLCPP_WARN (getLogger (), " ego overran return shift dead line. do nothing." );
1684
1684
return ;
1685
1685
}
@@ -1752,7 +1752,7 @@ void StaticObstacleAvoidanceModule::insertWaitPoint(
1752
1752
return ;
1753
1753
}
1754
1754
1755
- if (data.to_stop_line < 0.0 ) {
1755
+ if (data.to_stop_line < - 1.0 * parameters_-> stop_buffer ) {
1756
1756
RCLCPP_WARN (getLogger (), " ego overran avoidance dead line. do nothing." );
1757
1757
return ;
1758
1758
}
You can’t perform that action at this time.
0 commit comments