pub trait ObservationModel {
type State;
type Measurement;
// Required methods
fn predict(&self, state: &Self::State) -> Self::Measurement;
fn jacobian(&self, state: &Self::State) -> DMatrix<f64>;
}Expand description
Trait for observation/measurement models
Required Associated Types§
Sourcetype Measurement
type Measurement
Measurement type
Required Methods§
Sourcefn predict(&self, state: &Self::State) -> Self::Measurement
fn predict(&self, state: &Self::State) -> Self::Measurement
Predict measurement from state