From 445030b6f8bd7e5d3a34233b4f479c60970c869f Mon Sep 17 00:00:00 2001 From: Kotaro Yoshimoto Date: Wed, 21 Feb 2024 16:23:57 +0900 Subject: [PATCH] Update simulation/simple_sensor_simulator/src/vehicle_simulation/ego_entity_simulation.cpp Co-authored-by: Masaya Kataoka --- .../src/vehicle_simulation/ego_entity_simulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulation/simple_sensor_simulator/src/vehicle_simulation/ego_entity_simulation.cpp b/simulation/simple_sensor_simulator/src/vehicle_simulation/ego_entity_simulation.cpp index ef538dcac78..e0ae1aca47c 100644 --- a/simulation/simple_sensor_simulator/src/vehicle_simulation/ego_entity_simulation.cpp +++ b/simulation/simple_sensor_simulator/src/vehicle_simulation/ego_entity_simulation.cpp @@ -315,7 +315,7 @@ auto EgoEntitySimulation::getMatchedLaneletPoseFromEntityStatus( const traffic_simulator_msgs::msg::EntityStatus & status, const double entity_width) const -> std::optional { - // the lanelet matching algorithm should be equivalent to the one used in EgoEntity::setMapPose + // @note The lanelet matching algorithm should be equivalent to the one used in EgoEntity::setMapPose const auto unique_route_lanelets = traffic_simulator::helper::getUniqueValues(autoware->getRouteLanelets()); const auto matching_length = [entity_width] { return entity_width * 0.5 + 1.0; }();