lejos.robotics.pathfinding.PathFinder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lejos-ev3-api Show documentation
Show all versions of lejos-ev3-api Show documentation
leJOS (pronounced like the Spanish word "lejos" for "far") is a tiny Java Virtual Machine. In 2013 it was ported to the LEGO EV3 brick.
The newest version!
package lejos.robotics.pathfinding;
import lejos.robotics.navigation.DestinationUnreachableException;
import lejos.robotics.navigation.Pose;
import lejos.robotics.navigation.Waypoint;
import lejos.robotics.navigation.WaypointListener;
/**
*
* This class creates a set of waypoints connected by straight lines that lead from one location to another without
* colliding with mapped geometry.
*
*/
public interface PathFinder {
Path findRoute(Pose start, Waypoint destination) throws DestinationUnreachableException;
public void addListener(WaypointListener wpl);
public void startPathFinding(Pose start, Waypoint end);
}