Skip to main content

alpha_beta_predict

Function alpha_beta_predict 

Source
pub fn alpha_beta_predict(
    state: AlphaBetaState,
    dt: f64,
) -> Result<AlphaBetaState, PrimitiveError>
Expand description

Predict step for scalar alpha-beta.

x⁻ = x + dt * v, v⁻ = v.

The predict step is the same as a constant-rate model projection.