We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43631e0 commit 9698e8dCopy full SHA for 9698e8d
planning/behavior_path_dynamic_avoidance_module/src/scene.cpp
@@ -608,7 +608,7 @@ void DynamicAvoidanceModule::registerUnregulatedObjects(
608
}
609
610
// 1.c. Check if object' lateral velocity is small enough to be avoid.
611
- if (obj_normal_vel > parameters_->max_pedestrian_crossing_vel) {
+ if (std::abs(obj_normal_vel) > parameters_->max_pedestrian_crossing_vel) {
612
RCLCPP_INFO_EXPRESSION(
613
getLogger(), parameters_->enable_debug_info,
614
"[DynamicAvoidance] Ignore obstacle (%s) since it crosses the ego's path with its normal "
0 commit comments