Skip to main content

PathPlanner

Trait PathPlanner 

Source
pub trait PathPlanner {
    // Required method
    fn plan(
        &self,
        start: Point2D,
        goal: Point2D,
    ) -> Result<Path2D, RoboticsError>;
}
Expand description

Trait for path planning algorithms

Required Methods§

Source

fn plan(&self, start: Point2D, goal: Point2D) -> Result<Path2D, RoboticsError>

Plan a path from start to goal

Implementors§