pub struct TelemetryCtx<'a, B, S, A, R>where
B: BoardIo,
R: FlightFloat,{
pub board: &'a mut B,
pub now_us: u64,
pub state: &'a StateManager,
pub command: &'a CommandManager,
pub params: &'a Params,
pub estimator_state: &'a S,
pub sensors: &'a ProcessedSensors<R>,
pub actuator_commands: &'a A,
pub sensor_error_count: u16,
pub loop_time_us: u16,
}Fields§
§board: &'a mut B§now_us: u64§state: &'a StateManager§command: &'a CommandManager§params: &'a Params§estimator_state: &'a S§sensors: &'a ProcessedSensors<R>§actuator_commands: &'a A§sensor_error_count: u16§loop_time_us: u16Auto Trait Implementations§
impl<'a, B, S, A, R> Freeze for TelemetryCtx<'a, B, S, A, R>
impl<'a, B, S, A, R> RefUnwindSafe for TelemetryCtx<'a, B, S, A, R>
impl<'a, B, S, A, R> Send for TelemetryCtx<'a, B, S, A, R>
impl<'a, B, S, A, R> Sync for TelemetryCtx<'a, B, S, A, R>
impl<'a, B, S, A, R> Unpin for TelemetryCtx<'a, B, S, A, R>
impl<'a, B, S, A, R> UnsafeUnpin for TelemetryCtx<'a, B, S, A, R>
impl<'a, B, S, A, R> !UnwindSafe for TelemetryCtx<'a, B, S, A, R>
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.