sensor_vehicle_direction_t

Updated: April 19, 2023

Host vehicle direction

Synopsis:

#include <sensor/sensor_api.h>
typedef enum {
    SENSOR_VEHICLE_DIRECTION_FORWARD = 0,
    SENSOR_VEHICLE_DIRECTION_REVERSE = 1
} sensor_vehicle_direction_t;

Data:

SENSOR_VEHICLE_DIRECTION_FORWARD
The vehicle is moving in the forward direction.
SENSOR_VEHICLE_DIRECTION_REVERSE
The vehicle is moving in the reverse direction.

Library:

libsensor