lejos.robotics.pathfinding
Interface PathFinder

All Known Implementing Classes:
DijkstraPathFinder, NodePathFinder, RandomPathFinder

public interface PathFinder

This class creates a set of waypoints connected by straight lines that lead from one location to another without colliding with mapped geometry.


Method Summary
 void addListener(WayPointListener wpl)
           
 Collection<WayPoint> findRoute(Pose start, WayPoint destination)
           
 void startPathFinding(Pose start, WayPoint end)
           
 

Method Detail

findRoute

Collection<WayPoint> findRoute(Pose start,
                               WayPoint destination)
                               throws DestinationUnreachableException
Throws:
DestinationUnreachableException

addListener

void addListener(WayPointListener wpl)

startPathFinding

void startPathFinding(Pose start,
                      WayPoint end)