lejos.robotics.navigation
Interface WayPointListener


public interface WayPointListener

Interface for informing listeners that a way point has been reached.


Method Summary
 void nextWaypoint(WayPoint wp)
          Called when the class providing waypoints has another waypoint to report.
 void pathComplete()
          Called if/when the last Waypoint in the path has been sent.
 

Method Detail

nextWaypoint

void nextWaypoint(WayPoint wp)
Called when the class providing waypoints has another waypoint to report.

Parameters:
wp - the actual estimated pose of the robot when the waypoint has been approximately reached.

pathComplete

void pathComplete()
Called if/when the last Waypoint in the path has been sent.