Skip to content

Commit

Permalink
fix(interpolation): fix bug of interpolation (autowarefoundation#8969)
Browse files Browse the repository at this point in the history
fix bug of interpolation

Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
  • Loading branch information
yhisaki authored Sep 30, 2024
1 parent 1442d18 commit 35e9f44
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -692,10 +692,11 @@ IntersectionModule::CollisionStatus IntersectionModule::detectCollision(
object_info->predicted_object());
continue;
}
if (!object_info->unsafe_info()) {
const auto unsafe_info_opt = object_info->unsafe_info();
if (!unsafe_info_opt) {
continue;
}
const auto & unsafe_info = object_info->unsafe_info().value();
const auto & unsafe_info = unsafe_info_opt.value();
// ==========================================================================================
// if ego is over the pass judge lines, then the visualization as "too_late_objects" or
// "misjudge_objects" is more important than that for "unsafe"
Expand Down

0 comments on commit 35e9f44

Please sign in to comment.