Skip to content

Commit

Permalink
Update simulation/traffic_simulator/src/entity/ego_entity.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Masaya Kataoka <[email protected]>
  • Loading branch information
HansRobo and hakuturu583 authored Feb 21, 2024
1 parent bc70e40 commit 1ad085e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simulation/traffic_simulator/src/entity/ego_entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ auto EgoEntity::setMapPose(const geometry_msgs::msg::Pose & map_pose) -> void
const auto unique_route_lanelets = traffic_simulator::helper::getUniqueValues(getRouteLanelets());
std::optional<traffic_simulator_msgs::msg::LaneletPose> lanelet_pose;

// the lanelet matching algorithm should be equivalent to the one used in EgoEntitySimulation::getMatchedLaneletPoseFromEntityStatus
// @note The lanelet matching algorithm should be equivalent to the one used in EgoEntitySimulation::getMatchedLaneletPoseFromEntityStatus
const auto get_matching_length = [&] {
return std::max(
vehicle_parameters.axles.front_axle.track_width,
Expand Down

0 comments on commit 1ad085e

Please sign in to comment.