pub struct STORM32_GIMBAL_MANAGER_STATUS_DATA {
pub device_flags: GimbalDeviceFlags,
pub manager_flags: MavStorm32GimbalManagerFlags,
pub gimbal_id: u8,
pub supervisor: MavStorm32GimbalManagerClient,
pub profile: MavStorm32GimbalManagerProfile,
}
Available on crate feature
storm32
only.Expand description
id: 60011 Message reporting the current status of a gimbal manager. This message should be broadcast at a low regular rate (e.g. 1 Hz, may be increase momentarily to e.g. 5 Hz for a period of 1 sec after a change).
Fields§
§device_flags: GimbalDeviceFlags
Gimbal device flags currently applied. Same flags as reported by GIMBAL_DEVICE_ATTITUDE_STATUS.
manager_flags: MavStorm32GimbalManagerFlags
Gimbal manager flags currently applied.
gimbal_id: u8
Gimbal ID (component ID or 1-6 for non-MAVLink gimbal) that this gimbal manager is responsible for.
supervisor: MavStorm32GimbalManagerClient
Client who is currently supervisor (0 = none).
profile: MavStorm32GimbalManagerProfile
Profile currently applied (0 = default).
Implementations§
Source§impl STORM32_GIMBAL_MANAGER_STATUS_DATA
impl STORM32_GIMBAL_MANAGER_STATUS_DATA
pub const ENCODED_LEN: usize = 7usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for STORM32_GIMBAL_MANAGER_STATUS_DATA
impl Clone for STORM32_GIMBAL_MANAGER_STATUS_DATA
Source§fn clone(&self) -> STORM32_GIMBAL_MANAGER_STATUS_DATA
fn clone(&self) -> STORM32_GIMBAL_MANAGER_STATUS_DATA
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for STORM32_GIMBAL_MANAGER_STATUS_DATA
impl<'de> Deserialize<'de> for STORM32_GIMBAL_MANAGER_STATUS_DATA
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MessageData for STORM32_GIMBAL_MANAGER_STATUS_DATA
impl MessageData for STORM32_GIMBAL_MANAGER_STATUS_DATA
const ID: u32 = 60_011u32
const NAME: &'static str = "STORM32_GIMBAL_MANAGER_STATUS"
const EXTRA_CRC: u8 = 183u8
const ENCODED_LEN: usize = 7usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
Source§impl PartialEq for STORM32_GIMBAL_MANAGER_STATUS_DATA
impl PartialEq for STORM32_GIMBAL_MANAGER_STATUS_DATA
Source§fn eq(&self, other: &STORM32_GIMBAL_MANAGER_STATUS_DATA) -> bool
fn eq(&self, other: &STORM32_GIMBAL_MANAGER_STATUS_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for STORM32_GIMBAL_MANAGER_STATUS_DATA
Auto Trait Implementations§
impl Freeze for STORM32_GIMBAL_MANAGER_STATUS_DATA
impl RefUnwindSafe for STORM32_GIMBAL_MANAGER_STATUS_DATA
impl Send for STORM32_GIMBAL_MANAGER_STATUS_DATA
impl Sync for STORM32_GIMBAL_MANAGER_STATUS_DATA
impl Unpin for STORM32_GIMBAL_MANAGER_STATUS_DATA
impl UnwindSafe for STORM32_GIMBAL_MANAGER_STATUS_DATA
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more