Commit 1d3a094 1 parent fbd61e2 commit 1d3a094 Copy full SHA for 1d3a094
File tree 1 file changed +2
-2
lines changed
planning/autoware_obstacle_cruise_planner/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1209,8 +1209,8 @@ std::optional<StopObstacle> ObstacleCruisePlannerNode::createStopObstacle(
1209
1209
// NOTE: Dynamic obstacles for stop are crossing ego's trajectory with high speed,
1210
1210
// and the collision between ego and obstacles are within the margin threshold.
1211
1211
const bool is_obstacle_crossing = isObstacleCrossing (traj_points, obstacle);
1212
- const double has_high_speed = p.crossing_obstacle_velocity_threshold <
1213
- std::hypot (obstacle.twist .linear .x , obstacle.twist .linear .y );
1212
+ const bool has_high_speed = p.crossing_obstacle_velocity_threshold <
1213
+ std::hypot (obstacle.twist .linear .x , obstacle.twist .linear .y );
1214
1214
if (is_obstacle_crossing && has_high_speed) {
1215
1215
// Get highest confidence predicted path
1216
1216
const auto resampled_predicted_path = resampleHighestConfidencePredictedPath (
You can’t perform that action at this time.
0 commit comments