Skip to main content

ObservationModel

Trait ObservationModel 

Source
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§

Source

type State

State type

Source

type Measurement

Measurement type

Required Methods§

Source

fn predict(&self, state: &Self::State) -> Self::Measurement

Predict measurement from state

Source

fn jacobian(&self, state: &Self::State) -> DMatrix<f64>

Compute Jacobian with respect to state (for EKF)

Implementors§