diff --git a/docs/developer_guide/lane_pose_calculation/GetLongitudinalDistance.md b/docs/developer_guide/lane_pose_calculation/GetLongitudinalDistance.md index b60a2831ff0..6a721ea6fef 100644 --- a/docs/developer_guide/lane_pose_calculation/GetLongitudinalDistance.md +++ b/docs/developer_guide/lane_pose_calculation/GetLongitudinalDistance.md @@ -1,4 +1,4 @@ -# Lane pose caluculation when getting longitudianl distance +# Lane pose calculation when getting longitudinal distance Attempts to calculate the pose for adjacent lane coordinate systems when measuring longitudinal distance. The length of the horizontal bar must intersect with the adjacent lanelet, [so it is always 10 m regardless of the entity type.](https://github.com/tier4/scenario_simulator_v2/blob/5f19d39ef29243396f26225976975f0c27914c12/simulation/traffic_simulator/src/entity/entity_manager.cpp#L375C21-L442) diff --git a/docs/developer_guide/lane_pose_calculation/LanePoseCalculation.md b/docs/developer_guide/lane_pose_calculation/LanePoseCalculation.md index f1527851d27..a1b6bb2dea7 100644 --- a/docs/developer_guide/lane_pose_calculation/LanePoseCalculation.md +++ b/docs/developer_guide/lane_pose_calculation/LanePoseCalculation.md @@ -1,4 +1,4 @@ -# Lane pose caluculation +# Lane pose calculation The calculation method of the lane coordinate system differs from Entity to Entity, and the process of determining which lane to match is complex, including fallback. In this document, we will show how the pose calculation of the lane coordinate system is performed for each Entity. @@ -19,12 +19,12 @@ These are the [timing immediately after the spawn of the Entity](Spawn.md), the The unit of the table is meter. -| EntityType \ Timing of caluculation | [Spawn](Spawn.md) | [UpdateFrame](UpdateFrame.md) | [Fetting longitudinal distance](GetLongitudinalDistance.md) | -| ----------------------------------- | ----------------- | -------------------------------------------------------------------------------------- | ----------------------------------------------------------- | -| EgoEntity | 2.0 | [(tread of the entity) + 2.0](UpdateFrame.md#calculate-pose-in-lane-coordinate-system) | 10 | -| VehicleEntity | 2.0 | N/A | 10 | -| PedestrianEntity | 2.0 | [2.0 or 4.0](UpdateFrame.md#pedestrian-entity-with-behavior-tree) | 10 | -| MiscObject | 2.0 | N/A | 10 | +| EntityType \ Timing of calculation | [Spawn](Spawn.md) | [UpdateFrame](UpdateFrame.md) | [Getting longitudinal distance](GetLongitudinalDistance.md) | +| ---------------------------------- | ----------------- | -------------------------------------------------------------------------------------- | ----------------------------------------------------------- | +| EgoEntity | 2.0 | [(tread of the entity) + 2.0](UpdateFrame.md#calculate-pose-in-lane-coordinate-system) | 10 | +| VehicleEntity | 2.0 | N/A | 10 | +| PedestrianEntity | 2.0 | [2.0 or 4.0](UpdateFrame.md#pedestrian-entity-with-behavior-tree) | 10 | +| MiscObject | 2.0 | N/A | 10 | ### Detail of the lane coordinate system calculation algorithm for a specific lane diff --git a/docs/developer_guide/lane_pose_calculation/Spawn.md b/docs/developer_guide/lane_pose_calculation/Spawn.md index 7ba10fd4e9c..f9fd7dfbd1f 100644 --- a/docs/developer_guide/lane_pose_calculation/Spawn.md +++ b/docs/developer_guide/lane_pose_calculation/Spawn.md @@ -1,7 +1,7 @@ -# Lane pose caluculation when spawning +# Lane pose calculation when spawning If you spawn by specifying the lane coordinate system, lane pose calucluation is skipped. -Internally, spawn by specifying the lane coordinate system means specifying LaneltPose as the argument pose of the [API::spawn function](https://tier4.github.io/scenario_simulator_v2-api-docs/classtraffic__simulator_1_1API.html) +Internally, spawn by specifying the lane coordinate system means specifying LaneletPose as the argument pose of the [API::spawn function](https://tier4.github.io/scenario_simulator_v2-api-docs/classtraffic__simulator_1_1API.html) In the OpenSCENARIO , it is to execute a TeleportAction by specifying the LanePosition. ([e.g](https://github.com/tier4/scenario_simulator_v2/blob/9f03394f80e5de05cf087db3d00c7be73d27e963/test_runner/scenario_test_runner/)) If you spawn by specifying the map coordinate system, [lane pose calucluation](https://github.com/tier4/scenario_simulator_v2/blob/9f03394f80e5de05cf087db3d00c7be73d27e963/simulation/traffic_simulator/include/traffic_simulator/entity/entity_manager.hpp#L521-L529) is executed. diff --git a/docs/developer_guide/lane_pose_calculation/UpdateFrame.md b/docs/developer_guide/lane_pose_calculation/UpdateFrame.md index ec4863cf14d..e75f6ef35e7 100644 --- a/docs/developer_guide/lane_pose_calculation/UpdateFrame.md +++ b/docs/developer_guide/lane_pose_calculation/UpdateFrame.md @@ -1,4 +1,4 @@ -# Lane pose caluculation when updating frames +# Lane pose calculation when updating frames If the entity's behavioral logic is planned in the lane coordinate system, skip this process.