CoarseOrientation Struct
The orientation of a device with respect to the vehicle body axes. More...
Declaration
Included Headers
Enumerations Index
| enum class | Direction : uint8_t { ... } |
Public Member Attributes Index
| Direction | x_direction = Direction::FORWARD |
|
The direction of the device +x axis relative to the vehicle body axes. More... | |
| Direction | z_direction = Direction::UP |
|
The direction of the device +z axis relative to the vehicle body axes. More... | |
Description
The orientation of a device with respect to the vehicle body axes.
A device's orientation is defined by specifying how the +x and +z axes of its IMU are aligned with the vehicle body axes. For example, in a car:
- forward,up: device +x = vehicle +x, device +z = vehicle +z (i.e., IMU pointed towards the front of the vehicle).
- left,up: device +x = vehicle +y, device +z = vehicle +z (i.e., IMU pointed towards the left side of the vehicle)
- up,backward: device +x = vehicle +z, device +z = vehicle -x (i.e., IMU pointed vertically upward, with the top of the IMU pointed towards the trunk)
Definition at line 658 of file configuration.h.
Enumerations
Direction
| strong |
- Enumeration values
Definition at line 659 of file configuration.h.
Public Member Attributes
x_direction
|
The direction of the device +x axis relative to the vehicle body axes.
Definition at line 670 of file configuration.h.
z_direction
|
The direction of the device +z axis relative to the vehicle body axes.
Definition at line 673 of file configuration.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.