Updated: October 28, 2024 |
Sensor physical properties
#include <sensor/sensor_api.h>
typedef enum { SENSOR_PHYSPROP_END = -1, SENSOR_PHYSPROP_HORIZONTALFOV, SENSOR_PHYSPROP_VERTICALFOV, SENSOR_PHYSPROP_RANGEFOV, SENSOR_PHYSPROP_SECONDARY_HORIZONTALFOV, SENSOR_PHYSPROP_SECONDARY_VERTICALFOV, SENSOR_PHYSPROP_SECONDARY_RANGEFOV } sensor_physprop_t;
The value (in degrees) is a double value. The horizontal axis is defined as the axis running from left to right.
The value (in degrees) is a double value. The vertical axis is defined as the axis running from top to bottom.
This value is optional and is not supported for all sensors.
The value (in degrees) is a double value. The horizontal axis is defined as the axis running from left to right. This value is optional and is not supported for all sensors.
The value (in degrees) is a double value. The vertical axis is defined as the axis running from top to bottom. This value is optional and is not supported for all sensors.
This value is optional and is not supported for all sensors.
These properties are used as keys for the sensor_get_physical_property() function. Each key is associated with a value of the indicated type.