#[repr(C)]pub struct EkfSystemFlagUpdate {
pub time_us: u64,
pub at_rest: bool,
pub in_air: bool,
pub is_fixed_wing: bool,
pub gnd_effect: bool,
pub constant_pos: bool,
pub in_transition_to_fw: bool,
pub _pad: u8,
}Expand description
Vehicle/system flags used by EKF mode control.
Fields§
§time_us: u64< timestamp [µs]
at_rest: bool< true if the vehicle is at rest
in_air: bool< true if the vehicle is airborne
is_fixed_wing: bool< true if fixed-wing mode is active
gnd_effect: bool< true to trigger ground-effect compensation
constant_pos: bool< true to force constant-position mode
in_transition_to_fw: bool< true if transitioning to fixed-wing
_pad: u8< explicit padding for stable C layout
Implementations§
Trait Implementations§
Source§impl Clone for EkfSystemFlagUpdate
impl Clone for EkfSystemFlagUpdate
impl Copy for EkfSystemFlagUpdate
Source§impl Debug for EkfSystemFlagUpdate
impl Debug for EkfSystemFlagUpdate
Auto Trait Implementations§
impl Freeze for EkfSystemFlagUpdate
impl RefUnwindSafe for EkfSystemFlagUpdate
impl Send for EkfSystemFlagUpdate
impl Sync for EkfSystemFlagUpdate
impl Unpin for EkfSystemFlagUpdate
impl UnsafeUnpin for EkfSystemFlagUpdate
impl UnwindSafe for EkfSystemFlagUpdate
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