Flags indicating the sensor orientation
Synopsis:
#include <adas/adas_sensor_defs.h>
typedef enum {
SENSOR_ORIENTATION_INVALID = 0,
SENSOR_ORIENTATION_FRONT = 0x00000001,
SENSOR_ORIENTATION_FRONT_RIGHT = 0x00000002,
SENSOR_ORIENTATION_RIGHT = 0x00000004,
SENSOR_ORIENTATION_BACK_RIGHT = 0x00000008,
SENSOR_ORIENTATION_BACK = 0x00000010,
SENSOR_ORIENTATION_BACK_LEFT = 0x00000020,
SENSOR_ORIENTATION_LEFT = 0x00000040,
SENSOR_ORIENTATION_FRONT_LEFT = 0x00000080,
SENSOR_ORIENTATION_DRIVER = 0x00000100,
SENSOR_ORIENTATION_360 = 0x00000200,
SENSOR_ORIENTATION_ANY = SENSOR_ORIENTATION_FRONT |
SENSOR_ORIENTATION_FRONT_RIGHT | SENSOR_ORIENTATION_RIGHT |
SENSOR_ORIENTATION_BACK_RIGHT | SENSOR_ORIENTATION_BACK |
SENSOR_ORIENTATION_BACK_LEFT | SENSOR_ORIENTATION_LEFT |
SENSOR_ORIENTATION_FRONT_LEFT | SENSOR_ORIENTATION_DRIVER |
SENSOR_ORIENTATION_360
} adas_sensor_orientation_t;
Data:
- SENSOR_ORIENTATION_INVALID
- For internal use only; do not use.
- SENSOR_ORIENTATION_FRONT
- The sensor is pointing to the front of the vehicle.
- SENSOR_ORIENTATION_FRONT_RIGHT
- The sensor is pointing to the front/right of the vehicle.
- SENSOR_ORIENTATION_RIGHT
- The sensor is pointing to the right of the vehicle.
- SENSOR_ORIENTATION_BACK_RIGHT
- The sensor is pointing to the back/right of the vehicle.
- SENSOR_ORIENTATION_BACK
- The sensor is pointing to the back of the vehicle.
- SENSOR_ORIENTATION_BACK_LEFT
- The sensor is pointing to the back/left of the vehicle.
- SENSOR_ORIENTATION_LEFT
- The sensor is pointing to the left of the vehicle.
- SENSOR_ORIENTATION_FRONT_LEFT
- The sensor is pointing to the front/left of the vehicle.
- SENSOR_ORIENTATION_DRIVER
- The sensor is pointing to the driver of the vehicle.
- SENSOR_ORIENTATION_360
- The sensor covers all directions of the vehicle.
- SENSOR_ORIENTATION_ANY
- Any sensor orientation is acceptable.
Library:
libadas