[][src]Struct mavlink::common::GIMBAL_DEVICE_INFORMATION_DATA

pub struct GIMBAL_DEVICE_INFORMATION_DATA {
    pub time_boot_ms: u32,
    pub firmware_version: u32,
    pub tilt_max: f32,
    pub tilt_min: f32,
    pub tilt_rate_max: f32,
    pub pan_max: f32,
    pub pan_min: f32,
    pub pan_rate_max: f32,
    pub cap_flags: GimbalDeviceCapFlags,
    pub vendor_name: [u8; 32],
    pub model_name: [u8; 32],
}

id: 283 Information about a low level gimbal. This message should be requested by the gimbal manager or a ground station using MAV_CMD_REQUEST_MESSAGE..

Fields

time_boot_ms: u32

Timestamp (time since system boot)..

firmware_version: u32

Version of the gimbal firmware, encoded as: (Dev & 0xff) << 24 | (Patch & 0xff) << 16 | (Minor & 0xff) << 8 | (Major & 0xff).

tilt_max: f32

Maximum tilt/pitch angle (positive: up, negative: down).

tilt_min: f32

Minimum tilt/pitch angle (positive: up, negative: down).

tilt_rate_max: f32

Maximum tilt/pitch angular rate (positive: up, negative: down).

pan_max: f32

Maximum pan/yaw angle (positive: to the right, negative: to the left).

pan_min: f32

Minimum pan/yaw angle (positive: to the right, negative: to the left).

pan_rate_max: f32

Minimum pan/yaw angular rate (positive: to the right, negative: to the left).

cap_flags: GimbalDeviceCapFlags

Bitmap of gimbal capability flags..

vendor_name: [u8; 32]

Name of the gimbal vendor.

model_name: [u8; 32]

Name of the gimbal model.

Implementations

impl GIMBAL_DEVICE_INFORMATION_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_DEVICE_INFORMATION_DATA[src]

impl Debug for GIMBAL_DEVICE_INFORMATION_DATA[src]

impl Default for GIMBAL_DEVICE_INFORMATION_DATA[src]

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

impl PartialEq<GIMBAL_DEVICE_INFORMATION_DATA> for GIMBAL_DEVICE_INFORMATION_DATA[src]

impl Serialize for GIMBAL_DEVICE_INFORMATION_DATA[src]

impl StructuralPartialEq for GIMBAL_DEVICE_INFORMATION_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.