Package lejos.robotics.navigation
Interface NavigationListener
-
- All Known Implementing Classes:
EV3NavigationModel
public interface NavigationListenerInterface for informing listeners that a way point has been reached.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidatWaypoint(Waypoint waypoint, Pose pose, int sequence)Called when the robot has reached a new Wahpoint.voidpathComplete(Waypoint waypoint, Pose pose, int sequence)Called when the robot has reached the last Waypoint of the pathvoidpathInterrupted(Waypoint waypoint, Pose pose, int sequence)called when the robot has stopped, not at a Waypoint
-
-
-
Method Detail
-
atWaypoint
void atWaypoint(Waypoint waypoint, Pose pose, int sequence)
Called when the robot has reached a new Wahpoint.- Parameters:
waypoint- where the robotpose- of the robotsequence- of the Waypoint in the path
-
pathComplete
void pathComplete(Waypoint waypoint, Pose pose, int sequence)
Called when the robot has reached the last Waypoint of the path- Parameters:
waypoint- where the robotpose- of the robotsequence- of the Waypoint in the path
-
-