pub struct LIMITS_STATUS_DATA {
pub last_trigger: u32,
pub last_action: u32,
pub last_recovery: u32,
pub last_clear: u32,
pub breach_count: u16,
pub limits_state: LimitsState,
pub mods_enabled: LimitModule,
pub mods_required: LimitModule,
pub mods_triggered: LimitModule,
}
Available on crate feature
ardupilotmega
only.Expand description
id: 167 Status of AP_Limits. Sent in extended status stream when AP_Limits is enabled..
Fields§
§last_trigger: u32
Time (since boot) of last breach..
last_action: u32
Time (since boot) of last recovery action..
last_recovery: u32
Time (since boot) of last successful recovery..
last_clear: u32
Time (since boot) of last all-clear..
breach_count: u16
Number of fence breaches..
limits_state: LimitsState
State of AP_Limits..
mods_enabled: LimitModule
AP_Limit_Module bitfield of enabled modules..
mods_required: LimitModule
AP_Limit_Module bitfield of required modules..
mods_triggered: LimitModule
AP_Limit_Module bitfield of triggered modules..
Implementations§
Source§impl LIMITS_STATUS_DATA
impl LIMITS_STATUS_DATA
pub const ENCODED_LEN: usize = 22usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for LIMITS_STATUS_DATA
impl Clone for LIMITS_STATUS_DATA
Source§fn clone(&self) -> LIMITS_STATUS_DATA
fn clone(&self) -> LIMITS_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 LIMITS_STATUS_DATA
impl Debug for LIMITS_STATUS_DATA
Source§impl Default for LIMITS_STATUS_DATA
impl Default for LIMITS_STATUS_DATA
Source§impl<'de> Deserialize<'de> for LIMITS_STATUS_DATA
impl<'de> Deserialize<'de> for LIMITS_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 LIMITS_STATUS_DATA
impl MessageData for LIMITS_STATUS_DATA
const ID: u32 = 167u32
const NAME: &'static str = "LIMITS_STATUS"
const EXTRA_CRC: u8 = 144u8
const ENCODED_LEN: usize = 22usize
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 LIMITS_STATUS_DATA
impl PartialEq for LIMITS_STATUS_DATA
Source§impl Serialize for LIMITS_STATUS_DATA
impl Serialize for LIMITS_STATUS_DATA
impl StructuralPartialEq for LIMITS_STATUS_DATA
Auto Trait Implementations§
impl Freeze for LIMITS_STATUS_DATA
impl RefUnwindSafe for LIMITS_STATUS_DATA
impl Send for LIMITS_STATUS_DATA
impl Sync for LIMITS_STATUS_DATA
impl Unpin for LIMITS_STATUS_DATA
impl UnwindSafe for LIMITS_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