Skip to content

Commit

Permalink
fix(traffic_simulator): Fix an issue with lanelet transition
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonParapura committed Jan 29, 2025
1 parent 336a7ee commit 6d7aa6a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,7 @@ auto makeUpdatedStatus(
const auto canonicalized_lanelet_pose =
traffic_simulator::pose::toCanonicalizedLaneletPose(entity_status.lanelet_pose);
const auto estimated_next_canonicalized_lanelet_pose =
traffic_simulator::pose::toCanonicalizedLaneletPose(
updated_status.pose, entity_status.bounding_box, include_crosswalk, matching_distance);
traffic_simulator::pose::toCanonicalizedLaneletPose(updated_status.pose, include_crosswalk);
if (canonicalized_lanelet_pose && estimated_next_canonicalized_lanelet_pose) {
const auto next_lanelet_id =
static_cast<LaneletPose>(estimated_next_canonicalized_lanelet_pose.value()).lanelet_id;
Expand Down

0 comments on commit 6d7aa6a

Please sign in to comment.