-
Notifications
You must be signed in to change notification settings - Fork 130
feat(docs): Describe coordinate systems and reference points (#510) #516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
fcf1015
32f84b7
300ef1e
7e878a4
b25b61c
29cdc38
f7e2991
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| = Reference points and coordinate systems | ||
|
|
||
| With Open Simulation Interface, an object's position coordinates refer to the center of the object's bounding box. | ||
| This reference point is not necessarily identical to the origin of the respective coordinate systems. | ||
| OSI uses DIN ISO 8855:2013-11 for coordinate systems and transformations between coordinate systems. | ||
|
|
||
| OSI uses three coordinate systems: | ||
|
|
||
| World coordinates:: | ||
| Coordinate system for all quantities which are part of ground truth. | ||
| The world coordinate system is an inertial x/y/z-coordinate system. | ||
|
|
||
| Sensor coordinates:: | ||
| Coordinate system for all quantities which are part of sensor data. | ||
| The origin is the mounting position of the physical sensor or a virtual mounting position, depending on the technology. | ||
|
|
||
| Object coordinates:: | ||
| Coordinate system for local object coordinates, for example, vehicle coordinates. | ||
| For vehicles, the origin is the middle of the rear axle. | ||
max-rosin marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Other objects may use different origins. | ||
|
|
||
|
||
| The following images shows an example of the differents coordinate systems. | ||
| It also shows that the reference point of the vehicle is located in the center of its bounding box whereas the origin of the vehicle coordinate system is located on the rear axle. | ||
| In this example, the virtual mounting position coincides with the origin of the vehicle coordinate system. | ||
|
|
||
| image::{imagedir}/osi_coordinate_systems.png[] | ||
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| = Transforming coordinate systems | ||
|
|
||
| Transforming coordinates for a specific vehicle or sensor is a common task when running simulations. | ||
| OSI uses DIN ISO 8855:2013-11 for coordinate systems and transformations between coordinate systems. | ||
|
|
||
| //TODO: Should we add one or more sentences about the mathematical operations involved? | ||
max-rosin marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| **Corresponding messages** | ||
|
|
||
| ``GroundTruth::moving_object::base::position``:: | ||
| Defines the position of the vehicle’s reference point. | ||
|
|
||
| ``GroundTruth::moving_object::base::orientation``:: | ||
| Defines the orientation of the vehicle’s reference point. | ||
|
|
||
| ``GroundTruth::moving_object::vehicle_attributes::bbcenter_to_rear``:: | ||
| The vector pointing from the vehicle’s reference point to the middle of the rear axle under neutral load conditions in vehicle coordinates. | ||
| The middle of the rear axle is | ||
max-rosin marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ``SensorData::mounting_position``:: | ||
| Defines the sensor’s position and orientation and thereby the origin of the sensor coordinate system. | ||
| The mounting position is defined in sensor coordinates and relative to the origin of the vehicle coordinate system. | ||
max-rosin marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Uh oh!
There was an error while loading. Please reload this page.