Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Takagi <[email protected]>
  • Loading branch information
yuki-takagi-66 committed Apr 19, 2024
1 parent 43631e0 commit 9698e8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ void DynamicAvoidanceModule::registerUnregulatedObjects(
}

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

0 comments on commit 9698e8d

Please sign in to comment.