pub struct RecordedTick {
pub dt: Duration,
pub command: Command,
pub setpoint: Setpoint,
pub state: VehicleState,
pub control: ControlOutput,
pub actuators: ActuatorCommand,
pub saturation: Saturation,
pub failsafe: Option<FailsafeState>,
pub flight_mode: FlightModeReport,
pub wind: Option<WindEstimate>,
}Expand description
An owned copy of one TelemetryRecord; fields mean what they do there.
Fields§
§dt: Duration§command: Command§setpoint: Setpoint§state: VehicleState§control: ControlOutput§actuators: ActuatorCommand§saturation: Saturation§failsafe: Option<FailsafeState>§flight_mode: FlightModeReport§wind: Option<WindEstimate>Implementations§
Source§impl RecordedTick
impl RecordedTick
Sourcepub fn as_record(&self) -> TelemetryRecord<'_>
pub fn as_record(&self) -> TelemetryRecord<'_>
Borrows this tick as a TelemetryRecord, e.g. to replay it into another sink.
Trait Implementations§
Source§impl Clone for RecordedTick
impl Clone for RecordedTick
Source§impl Debug for RecordedTick
impl Debug for RecordedTick
Source§impl From<&TelemetryRecord<'_>> for RecordedTick
impl From<&TelemetryRecord<'_>> for RecordedTick
Source§fn from(record: &TelemetryRecord<'_>) -> Self
fn from(record: &TelemetryRecord<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RecordedTick
impl RefUnwindSafe for RecordedTick
impl Send for RecordedTick
impl Sync for RecordedTick
impl Unpin for RecordedTick
impl UnsafeUnpin for RecordedTick
impl UnwindSafe for RecordedTick
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§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§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 moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.