Skip to main content

Planner

Trait Planner 

Source
pub trait Planner<const N: usize, F: KinScalar = f32, R: ValidatorRet = ()>: Sized {
    type Diagnostic: Display + Debug;
    type Config;
    type Waypoints;

    // Required method
    fn plan<E: Into<DekeError>, V: Validator<N, R, F>>(
        &self,
        config: &Self::Config,
        waypoints: &Self::Waypoints,
        validator: &V,
        ctx: &V::Context<'_>,
    ) -> (DekeResult<SRobotPath<N, F>>, Self::Diagnostic);
}

Required Associated Types§

Required Methods§

Source

fn plan<E: Into<DekeError>, V: Validator<N, R, F>>( &self, config: &Self::Config, waypoints: &Self::Waypoints, validator: &V, ctx: &V::Context<'_>, ) -> (DekeResult<SRobotPath<N, F>>, Self::Diagnostic)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§