Type Alias CameraTrackingImageStatus

Source
pub type CameraTrackingImageStatus = CameraTrackingImageStatus;
Expand description

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: CameraTrackingStatusFlags

MAVLink field tracking_status.

Current tracking status

§tracking_mode: CameraTrackingMode

MAVLink field tracking_mode.

Current tracking mode

§target_data: CameraTrackingTargetData

MAVLink field target_data.

Defines location of target data

§point_x: f32

MAVLink 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: f32

MAVLink 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: f32

MAVLink 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: f32

MAVLink 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: f32

MAVLink 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: f32

MAVLink 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: f32

MAVLink 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: 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).