point_one::fusion_engine::messages::CoarseOrientation Struct Reference

Detailed 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 657 of file configuration.h.

#include <point_one/fusion_engine/messages/configuration.h>

Public Types

enum  Direction : uint8_t {
  Direction::FORWARD = 0, Direction::BACKWARD = 1, Direction::LEFT = 2, Direction::RIGHT = 3,
  Direction::UP = 4, Direction::DOWN = 5, Direction::INVALID = 255
}
 

Public Attributes

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...
 

Member Enumeration Documentation

◆ Direction

Enumerator
FORWARD 

Aligned with vehicle +x axis.

BACKWARD 

Aligned with vehicle -x axis.

LEFT 

Aligned with vehicle +y axis.

RIGHT 

Aligned with vehicle -y axis.

UP 

Aligned with vehicle +z axis.

DOWN 

Aligned with vehicle -z axis.

INVALID 

Definition at line 658 of file configuration.h.

Member Data Documentation

◆ x_direction

Direction point_one::fusion_engine::messages::CoarseOrientation::x_direction = Direction::FORWARD

The direction of the device +x axis relative to the vehicle body axes.

Definition at line 669 of file configuration.h.

◆ z_direction

Direction point_one::fusion_engine::messages::CoarseOrientation::z_direction = Direction::UP

The direction of the device +z axis relative to the vehicle body axes.

Definition at line 672 of file configuration.h.


The documentation for this struct was generated from the following file: