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§
Sourcetype TrajectoryPoint
type TrajectoryPoint
Trajectory point with time
Required Methods§
Sourcefn compute_control(
&mut self,
current_state: &State2D,
time: f64,
) -> ControlInput
fn compute_control( &mut self, current_state: &State2D, time: f64, ) -> ControlInput
Compute control input to follow the trajectory at given time