Skip to main content

TrajectoryTracker

Trait TrajectoryTracker 

Source
pub trait TrajectoryTracker {
    type TrajectoryPoint;

    // Required method
    fn compute_control(
        &mut self,
        current_state: &State2D,
        time: f64,
    ) -> ControlInput;
}
Expand description

Trait for trajectory tracking with time-parameterized paths

Required Associated Types§

Source

type TrajectoryPoint

Trajectory point with time

Required Methods§

Source

fn compute_control( &mut self, current_state: &State2D, time: f64, ) -> ControlInput

Compute control input to follow the trajectory at given time

Implementors§