pub trait Estimator<R: FlightFloat> {
type State: AttitudeEstimate;
// Required method
fn estimate(&mut self, ctx: EstimatorCtx<'_, R>) -> Self::State;
// Provided methods
fn update_params(&mut self, _params: &Params) { ... }
fn reset(&mut self) { ... }
fn reset_adaptive_bias(&mut self) { ... }
}Required Associated Types§
type State: AttitudeEstimate
Required Methods§
fn estimate(&mut self, ctx: EstimatorCtx<'_, R>) -> Self::State
Provided Methods§
fn update_params(&mut self, _params: &Params)
fn reset(&mut self)
fn reset_adaptive_bias(&mut self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".