| Updated: October 28, 2024 |
The camera location properties list
#include <camera/camera_api.h>
typedef enum {
CAMERA_LOCATION_END = 0,
CAMERA_LOCATION_NAME,
CAMERA_LOCATION_POSITION_X,
CAMERA_LOCATION_POSITION_Y,
CAMERA_LOCATION_POSITION_Z,
CAMERA_LOCATION_YAW,
CAMERA_LOCATION_PITCH,
CAMERA_LOCATION_ROLL
} camera_location_prop_t;
The string pointed to by this array should have CAMERA_LOCATION_NAMELEN bytes allocated for it.
The value is a double.
The value is a double.
The value is a double.
The double value represents a counter-clockwise rotation.
The double value represents a counter-clockwise rotation.
The double value represents a counter-clockwise rotation.
These properties are used as keys for the camera_get_location_property() function. Each key is associated with a value of the indicated type.