Skip to main content

spiral_coverage

Function spiral_coverage 

Source
pub fn spiral_coverage(
    grid: &CoverageGrid,
    start_x: i32,
    start_y: i32,
) -> Vec<Cell>
Expand description

Spiral coverage planner.

Starts from the given position and spirals outward in a clockwise pattern. Uses a right-hand-wall-following approach.