Skip to content

Commit

Permalink
fix(safety_check): don't override collision polygon even if it doesn'…
Browse files Browse the repository at this point in the history
…t find corresponding time pose (autowarefoundation#5944)

fix(safety_check): don't override collision polygon if it doesn't find corresponding time pose

Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota authored and karishma1911 committed May 28, 2024
1 parent b80e7fa commit f928710
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,6 @@ std::vector<Polygon2d> getCollidedPolygons(
const auto interpolated_data = getInterpolatedPoseWithVelocityAndPolygonStamped(
predicted_ego_path, current_time, ego_vehicle_info);
if (!interpolated_data) {
debug.expected_obj_pose = obj_pose;
debug.extended_obj_polygon = obj_polygon;
continue;
}
const auto & ego_pose = interpolated_data->pose;
Expand Down

0 comments on commit f928710

Please sign in to comment.