Struct mavlink::uavionix::GIMBAL_MANAGER_STATUS_DATA
source · pub struct GIMBAL_MANAGER_STATUS_DATA {
pub time_boot_ms: u32,
pub flags: GimbalManagerFlags,
pub gimbal_device_id: u8,
pub primary_control_sysid: u8,
pub primary_control_compid: u8,
pub secondary_control_sysid: u8,
pub secondary_control_compid: u8,
}
Available on crate feature
uavionix
only.Expand description
id: 281 Current status about a high level gimbal manager. This message should be broadcast at a low regular rate (e.g. 5Hz)..
Fields§
§time_boot_ms: u32
Timestamp (time since system boot)..
flags: GimbalManagerFlags
High level gimbal manager flags currently applied..
gimbal_device_id: u8
Gimbal device ID that this gimbal manager is responsible for..
primary_control_sysid: u8
System ID of MAVLink component with primary control, 0 for none..
primary_control_compid: u8
Component ID of MAVLink component with primary control, 0 for none..
secondary_control_sysid: u8
System ID of MAVLink component with secondary control, 0 for none..
secondary_control_compid: u8
Component ID of MAVLink component with secondary control, 0 for none..
Implementations§
source§impl GIMBAL_MANAGER_STATUS_DATA
impl GIMBAL_MANAGER_STATUS_DATA
pub const ENCODED_LEN: usize = 13usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for GIMBAL_MANAGER_STATUS_DATA
impl Clone for GIMBAL_MANAGER_STATUS_DATA
source§fn clone(&self) -> GIMBAL_MANAGER_STATUS_DATA
fn clone(&self) -> GIMBAL_MANAGER_STATUS_DATA
Returns a copy 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 Debug for GIMBAL_MANAGER_STATUS_DATA
impl Debug for GIMBAL_MANAGER_STATUS_DATA
source§impl Default for GIMBAL_MANAGER_STATUS_DATA
impl Default for GIMBAL_MANAGER_STATUS_DATA
source§impl<'de> Deserialize<'de> for GIMBAL_MANAGER_STATUS_DATA
impl<'de> Deserialize<'de> for 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 GIMBAL_MANAGER_STATUS_DATA
impl MessageData for GIMBAL_MANAGER_STATUS_DATA
const ID: u32 = 281u32
const NAME: &'static str = "GIMBAL_MANAGER_STATUS"
const EXTRA_CRC: u8 = 48u8
const ENCODED_LEN: usize = 13usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
impl StructuralPartialEq for GIMBAL_MANAGER_STATUS_DATA
Auto Trait Implementations§
impl Freeze for GIMBAL_MANAGER_STATUS_DATA
impl RefUnwindSafe for GIMBAL_MANAGER_STATUS_DATA
impl Send for GIMBAL_MANAGER_STATUS_DATA
impl Sync for GIMBAL_MANAGER_STATUS_DATA
impl Unpin for GIMBAL_MANAGER_STATUS_DATA
impl UnwindSafe for 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)