pub type CameraTrackingImageStatus = CameraTrackingImageStatus;Expand description
Originally defined in common::messages::camera_tracking_image_status.
Aliased Type§
struct CameraTrackingImageStatus {
pub tracking_status: CameraTrackingStatusFlags,
pub tracking_mode: CameraTrackingMode,
pub target_data: CameraTrackingTargetData,
pub point_x: f32,
pub point_y: f32,
pub radius: f32,
pub rec_top_x: f32,
pub rec_top_y: f32,
pub rec_bottom_x: f32,
pub rec_bottom_y: f32,
pub camera_device_id: u8,
}Fields§
§tracking_status: CameraTrackingStatusFlagsMAVLink field tracking_status.
Current tracking status
tracking_mode: CameraTrackingModeMAVLink field tracking_mode.
Current tracking mode
target_data: CameraTrackingTargetDataMAVLink field target_data.
Defines location of target data
point_x: f32MAVLink field point_x.
Current tracked point x value if CAMERA_TRACKING_MODE_POINT (normalized 0..1, 0 is left, 1 is right), NAN if unknown
point_y: f32MAVLink field point_y.
Current tracked point y value if CAMERA_TRACKING_MODE_POINT (normalized 0..1, 0 is top, 1 is bottom), NAN if unknown
radius: f32MAVLink field radius.
Current tracked radius if CAMERA_TRACKING_MODE_POINT (normalized 0..1, 0 is image left, 1 is image right), NAN if unknown
rec_top_x: f32MAVLink field rec_top_x.
Current tracked rectangle top x value if CAMERA_TRACKING_MODE_RECTANGLE (normalized 0..1, 0 is left, 1 is right), NAN if unknown
rec_top_y: f32MAVLink field rec_top_y.
Current tracked rectangle top y value if CAMERA_TRACKING_MODE_RECTANGLE (normalized 0..1, 0 is top, 1 is bottom), NAN if unknown
rec_bottom_x: f32MAVLink field rec_bottom_x.
Current tracked rectangle bottom x value if CAMERA_TRACKING_MODE_RECTANGLE (normalized 0..1, 0 is left, 1 is right), NAN if unknown
rec_bottom_y: f32MAVLink field rec_bottom_y.
Current tracked rectangle bottom y value if CAMERA_TRACKING_MODE_RECTANGLE (normalized 0..1, 0 is top, 1 is bottom), NAN if unknown
camera_device_id: u8MAVLink 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).