Trait Trajectory

Source
pub trait Trajectory<V> {
    // Required methods
    fn get_segment(&self, t: f64) -> Option<Segment<'_, V>>;
    fn position_at(&self, t: f64) -> Option<V>;
    fn velocity_at(&self, t: f64) -> Option<V>;
    fn acceleration_at(&self, t: f64) -> Option<V>;
}

Required Methods§

Source

fn get_segment(&self, t: f64) -> Option<Segment<'_, V>>

Source

fn position_at(&self, t: f64) -> Option<V>

Source

fn velocity_at(&self, t: f64) -> Option<V>

Source

fn acceleration_at(&self, t: f64) -> Option<V>

Implementations on Foreign Types§

Source§

impl<V> Trajectory<V> for Vec<Pose<V>>
where V: Add<V, Output = V> + Copy + Mul<f64, Output = V>,

Source§

fn get_segment(&self, t: f64) -> Option<Segment<'_, V>>

Source§

fn position_at(&self, t: f64) -> Option<V>

Source§

fn velocity_at(&self, t: f64) -> Option<V>

Source§

fn acceleration_at(&self, t: f64) -> Option<V>

Implementors§