Package lejos.robotics.pathfinding
Interface PathFinder
-
- All Known Implementing Classes:
DijkstraPathFinder,NodePathFinder,RandomPathFinder,ShortestPathFinder
public interface PathFinderThis class creates a set of waypoints connected by straight lines that lead from one location to another without colliding with mapped geometry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(WaypointListener wpl)PathfindRoute(Pose start, Waypoint destination)voidstartPathFinding(Pose start, Waypoint end)
-
-
-
Method Detail
-
findRoute
Path findRoute(Pose start, Waypoint destination) throws DestinationUnreachableException
- Throws:
DestinationUnreachableException
-
addListener
void addListener(WaypointListener wpl)
-
-