We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83f698d commit 7917330Copy full SHA for 7917330
planning/behavior_path_dynamic_avoidance_module/src/scene.cpp
@@ -1067,7 +1067,7 @@ MinMaxValue DynamicAvoidanceModule::calcMinMaxLongitudinalOffsetToAvoid(
1067
const double start_length_to_avoid = [&]() {
1068
if (obj_vel < parameters_->max_stopped_object_vel) {
1069
// The ego and object are the opposite directional or the object is parked.
1070
- return std::min(time_while_collision.time_to_start_collision, 8.0) * std::abs(obj_vel) +
+ return std::min(time_while_collision.time_to_start_collision, 3.5) * std::abs(obj_vel) +
1071
std::abs(relative_velocity) * parameters_->start_duration_to_avoid_oncoming_object;
1072
}
1073
// The ego and object are the same directional.
0 commit comments