|
2 | 2 |
|
3 | 3 | == Vehicle and Sensor Coordinate Systems |
4 | 4 |
|
5 | | -Transforming coordinates from the world coordinate system for a specific vehicle and its sensors is a common task when running simulations. |
| 5 | +Transforming coordinates from the world coordinate system for a specific vehicle and its sensors is frequently needed when running simulations. |
6 | 6 |
|
7 | | -This section provides an overview of the involved messages, fields and their relationship for this task. |
8 | | -It demonstrates how world coordinate system, vehicle coordinate system, and sensor coordinate system are related for a specific (ego-)vehicle. |
| 7 | +This section provides an overview of the involved messages and fields and their relationship for this task. |
| 8 | +It demonstrates how world coordinate system, vehicle coordinate system, and sensor coordinate system are related given a specific (ego-)vehicle. |
9 | 9 |
|
10 | 10 | //TODO: Should we add one or more sentences about the mathematical operations involved? |
11 | 11 |
|
12 | 12 | **Corresponding messages** |
13 | 13 |
|
14 | 14 | ``GroundTruth::moving_object::base::position``:: |
15 | | -Defines the position of the vehicle’s reference point in world coordinates. |
| 15 | +This field defines the position of the vehicle's reference point in world coordinates. |
16 | 16 | In Open Simulation Interface, the position of an object is defined by the coordinates of the center of the object's bounding box. |
17 | 17 |
|
18 | 18 | ``GroundTruth::moving_object::base::orientation``:: |
19 | | -Defines the orientation of the vehicle’s reference point in world coordinates. |
| 19 | +This field defines the orientation of the vehicle's reference point in world coordinates. |
20 | 20 |
|
21 | 21 | ``GroundTruth::moving_object::vehicle_attributes::bbcenter_to_rear``:: |
22 | | -The vector pointing from the vehicle’s reference point to the middle of the rear axle under neutral load conditions in vehicle coordinates. |
| 22 | +This field specifies the vector pointing from the vehicle's reference point to the middle of the rear axle under neutral load conditions in vehicle coordinates. |
23 | 23 |
|
24 | 24 | ``SensorData::mounting_position``:: |
25 | | -Defines the sensor’s position and orientation and thereby the origin of the sensor coordinate system. |
| 25 | +This field defines the sensor's position and orientation and, thereby, the origin of the sensor coordinate system. |
26 | 26 | The mounting position is given in the vehicle coordinate system. |
27 | 27 |
|
28 | 28 | **Example** |
29 | 29 |
|
30 | 30 | The following image shows the relationship between the coordinate systems. |
31 | 31 | The reference point of the vehicle is given by a vector in the world coordinate system. |
32 | 32 | A vector pointing from the reference position of the vehicle to the center of the rear axle then yields the origin of the vehicle coordinate system. |
33 | | -The mounting positions of the sensors and therefore the origins of the corresponding sensor coordinate systems are then given with respect to the vehicle coordinate system. |
| 33 | +The mounting positions of the sensors and, therefore, the origins of the corresponding sensor coordinate systems are given with respect to the vehicle coordinate system. |
34 | 34 |
|
35 | 35 | image::{images_open_simulation_interface}/osi_example_coordinate_systems.png[] |
0 commit comments