CameraFovStatus

Type Alias CameraFovStatus 

Source
pub type CameraFovStatus = CameraFovStatus;
Expand description

Originally defined in all::messages::camera_fov_status.

Aliased Type§

pub struct CameraFovStatus {
    pub time_boot_ms: u32,
    pub lat_camera: i32,
    pub lon_camera: i32,
    pub alt_camera: i32,
    pub lat_image: i32,
    pub lon_image: i32,
    pub alt_image: i32,
    pub q: [f32; 4],
    pub hfov: f32,
    pub vfov: f32,
    pub camera_device_id: u8,
}

Fields§

§time_boot_ms: u32

MAVLink field time_boot_ms.

Timestamp (time since system boot).

§lat_camera: i32

MAVLink field lat_camera.

Latitude of camera (INT32_MAX if unknown).

§lon_camera: i32

MAVLink field lon_camera.

Longitude of camera (INT32_MAX if unknown).

§alt_camera: i32

MAVLink field alt_camera.

Altitude (MSL) of camera (INT32_MAX if unknown).

§lat_image: i32

MAVLink field lat_image.

Latitude of center of image (INT32_MAX if unknown, INT32_MIN if at infinity, not intersecting with horizon).

§lon_image: i32

MAVLink field lon_image.

Longitude of center of image (INT32_MAX if unknown, INT32_MIN if at infinity, not intersecting with horizon).

§alt_image: i32

MAVLink field alt_image.

Altitude (MSL) of center of image (INT32_MAX if unknown, INT32_MIN if at infinity, not intersecting with horizon).

§q: [f32; 4]

MAVLink field q.

Quaternion of camera orientation (w, x, y, z order, zero-rotation is 1, 0, 0, 0)

§hfov: f32

MAVLink field hfov.

Horizontal field of view (NaN if unknown).

§vfov: f32

MAVLink field vfov.

Vertical field of view (NaN if unknown).

§camera_device_id: u8

MAVLink field camera_device_id.

Camera id of a non-MAVLink camera attached to an autopilot (1-6). 0 if the component is a MAVLink camera (with its own component id).