Skip to content

Commit fcf1015

Browse files
committed
feat(docs): Describe coordinate systems and reference points (#510)
Signed-off-by: Maximilian Rosin <maximilian.rosin@parson-europe.com>
1 parent b078a30 commit fcf1015

File tree

5 files changed

+42
-25
lines changed

5 files changed

+42
-25
lines changed

doc/architecture/coordinate_systems.adoc

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/architecture/reference_points.adoc

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
= Reference points and coordinate systems
2+
3+
With Open Simulation Interface, an object's position coordinates refer to the center of the object's bounding box, independent of the coordinate system. This reference point is not identical to the origin of any coordinate systems.
4+
5+
OSI uses three coordinate systems:
6+
7+
World coordinates::
8+
Coordinate system for all quantities which are part of ground truth.
9+
10+
Sensor coordinates::
11+
Coordinate system for all quantities which are part of sensor data.
12+
13+
Object coordinates::
14+
Coordinate system for local object coordinates, for example, vehicle coordinates.
15+
16+
OSI uses DIN ISO 8855:2013-11 for coordinate systems and transformations between coordinate systems.

doc/open-simulation-interface_user_guide.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,9 @@ include::./architecture/traffic_participant.adoc[leveloffset=+3]
5252

5353
include::./architecture/vehicle_dynamics.adoc[leveloffset=+3]
5454

55-
=== Coordinate systems and reference points
55+
// Coordinate systems and reference points (level 3)
5656

57-
include::./architecture/coordinate_systems.adoc[leveloffset=+3]
58-
59-
include::./architecture/reference_points.adoc[leveloffset=+3]
57+
include::./architecture/reference_points_coordinate_systems.adoc[leveloffset=+2]
6058

6159
=== Layering
6260

@@ -106,6 +104,8 @@ include::./usecases/benchmark_integration_gpu_radar.adoc[leveloffset=+2]
106104

107105
include::./usecases/generating_osi_traces.adoc[leveloffset=+2]
108106

107+
include::./usecases/transforming_coordinate_systems.adoc[leveloffset=+2]
108+
109109
== Improving performance
110110

111111
TODO: Define topics and issues regarding performance.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
= Transforming coordinate systems
2+
3+
Transforming coordinates for a specific vehicle or sensor is a common task when running simulations.
4+
OSI uses DIN ISO 8855:2013-11 for coordinate systems and transformations between coordinate systems.
5+
6+
//TODO: Should we add one or more sentences about the mathematical operations involved?
7+
8+
**Corresponding messages**
9+
10+
``GroundTruth::moving_object::base::position``::
11+
Defines the position of the vehicle’s reference point.
12+
13+
``GroundTruth::moving_object::base::orientation``::
14+
Defines the orientation of the vehicle’s reference point.
15+
16+
``GroundTruth::moving_object::vehicle_attributes::bbcenter_to_rear``::
17+
The vector pointing from the vehicle’s reference point to the middle of the rear axle under neutral load conditions in vehicle coordinates.
18+
The middle of the rear axle is
19+
20+
``SensorData::mounting_position``::
21+
Defines the sensor’s position and orientation and thereby the origin of the sensor coordinate system.
22+
The mounting position is defined in sensor coordinates and relative to the origin of the vehicle coordinate system.

0 commit comments

Comments
 (0)