Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Masaya Kataoka <[email protected]>
  • Loading branch information
hakuturu583 committed Feb 16, 2024
1 parent 4907472 commit 8a28ece
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/developer_guide/lane_pose_calculation/Spawn.md
Original file line number Diff line number Diff line change
@@ -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.

Check warning on line 3 in docs/developer_guide/lane_pose_calculation/Spawn.md

View workflow job for this annotation

GitHub Actions / spell-check

Unknown word (calucluation)
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.

Check warning on line 7 in docs/developer_guide/lane_pose_calculation/Spawn.md

View workflow job for this annotation

GitHub Actions / spell-check

Unknown word (calucluation)
Expand Down
2 changes: 1 addition & 1 deletion docs/developer_guide/lane_pose_calculation/UpdateFrame.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down

0 comments on commit 8a28ece

Please sign in to comment.