[][src]Struct mavlink::common::GIMBAL_MANAGER_SET_TILTPAN_DATA

pub struct GIMBAL_MANAGER_SET_TILTPAN_DATA {
    pub flags: GimbalManagerFlags,
    pub tilt: f32,
    pub pan: f32,
    pub tilt_rate: f32,
    pub pan_rate: f32,
    pub target_system: u8,
    pub target_component: u8,
    pub gimbal_device_id: u8,
}

id: 287 High level message to control a gimbal's tilt and pan angles. This message is to be sent to the gimbal manager (e.g. from a ground station). Angles and rates can be set to NaN according to use case..

Fields

flags: GimbalManagerFlags

High level gimbal manager flags to use..

tilt: f32

Tilt/pitch angle (positive: up, negative: down, NaN to be ignored)..

pan: f32

Pan/yaw angle (positive: to the right, negative: to the left, NaN to be ignored)..

tilt_rate: f32

Tilt/pitch angular rate (positive: up, negative: down, NaN to be ignored)..

pan_rate: f32

Pan/yaw angular rate (positive: to the right, negative: to the left, NaN to be ignored)..

target_system: u8

System ID.

target_component: u8

Component ID.

gimbal_device_id: u8

Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. (Send command multiple times for more than one but not all gimbals.).

Implementations

impl GIMBAL_MANAGER_SET_TILTPAN_DATA[src]

pub const ENCODED_LEN: usize[src]

pub fn deser(
    version: MavlinkVersion,
    _input: &[u8]
) -> Result<Self, ParserError>
[src]

pub fn ser(&self) -> Vec<u8>[src]

Trait Implementations

impl Clone for GIMBAL_MANAGER_SET_TILTPAN_DATA[src]

impl Debug for GIMBAL_MANAGER_SET_TILTPAN_DATA[src]

impl Default for GIMBAL_MANAGER_SET_TILTPAN_DATA[src]

impl<'de> Deserialize<'de> for GIMBAL_MANAGER_SET_TILTPAN_DATA[src]

impl PartialEq<GIMBAL_MANAGER_SET_TILTPAN_DATA> for GIMBAL_MANAGER_SET_TILTPAN_DATA[src]

impl Serialize for GIMBAL_MANAGER_SET_TILTPAN_DATA[src]

impl StructuralPartialEq for GIMBAL_MANAGER_SET_TILTPAN_DATA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.