pub struct CAMERA_FOV_STATUS_DATA {
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,
}
cubepilot
only.Expand description
id: 271 Information about the field of view of a camera. Can be requested with a MAV_CMD_REQUEST_MESSAGE command..
Fields§
§time_boot_ms: u32
Timestamp (time since system boot)..
lat_camera: i32
Latitude of camera (INT32_MAX if unknown)..
lon_camera: i32
Longitude of camera (INT32_MAX if unknown)..
alt_camera: i32
Altitude (MSL) of camera (INT32_MAX if unknown)..
lat_image: i32
Latitude of center of image (INT32_MAX if unknown, INT32_MIN if at infinity, not intersecting with horizon)..
lon_image: i32
Longitude of center of image (INT32_MAX if unknown, INT32_MIN if at infinity, not intersecting with horizon)..
alt_image: i32
Altitude (MSL) of center of image (INT32_MAX if unknown, INT32_MIN if at infinity, not intersecting with horizon)..
q: [f32; 4]
Quaternion of camera orientation (w, x, y, z order, zero-rotation is 1, 0, 0, 0).
hfov: f32
Horizontal field of view (NaN if unknown)..
vfov: f32
Vertical field of view (NaN if unknown)..
Implementations§
Source§impl CAMERA_FOV_STATUS_DATA
impl CAMERA_FOV_STATUS_DATA
pub const ENCODED_LEN: usize = 52usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for CAMERA_FOV_STATUS_DATA
impl Clone for CAMERA_FOV_STATUS_DATA
Source§fn clone(&self) -> CAMERA_FOV_STATUS_DATA
fn clone(&self) -> CAMERA_FOV_STATUS_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more