Skip to main content

next_frontier_goal

Function next_frontier_goal 

Source
pub fn next_frontier_goal(
    grid: &OccupancyGrid,
    robot: Vector2<f64>,
    excluded: &[Vector2<f64>],
    config: &FrontierConfig,
) -> Option<FrontierGoal>
Expand description

The best reachable frontier from robot, skipping frontier cells within 1.5 m of a point in excluded (e.g. goals the robot already failed to reach). None when exploration is complete.