Skip to content

Commit 9698e8d

Browse files
fix
Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp>
1 parent 43631e0 commit 9698e8d

File tree

1 file changed

+1
-1
lines changed
  • planning/behavior_path_dynamic_avoidance_module/src

1 file changed

+1
-1
lines changed

planning/behavior_path_dynamic_avoidance_module/src/scene.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ void DynamicAvoidanceModule::registerUnregulatedObjects(
608608
}
609609

610610
// 1.c. Check if object' lateral velocity is small enough to be avoid.
611-
if (obj_normal_vel > parameters_->max_pedestrian_crossing_vel) {
611+
if (std::abs(obj_normal_vel) > parameters_->max_pedestrian_crossing_vel) {
612612
RCLCPP_INFO_EXPRESSION(
613613
getLogger(), parameters_->enable_debug_info,
614614
"[DynamicAvoidance] Ignore obstacle (%s) since it crosses the ego's path with its normal "

0 commit comments

Comments
 (0)