Interface NavigationListener

  • All Known Implementing Classes:
    EV3NavigationModel

    public interface NavigationListener
    Interface for informing listeners that a way point has been reached.
    • Method Detail

      • atWaypoint

        void atWaypoint​(Waypoint waypoint,
                        Pose pose,
                        int sequence)
        Called when the robot has reached a new Wahpoint.
        Parameters:
        waypoint - where the robot
        pose - of the robot
        sequence - 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 robot
        pose - of the robot
        sequence - of the Waypoint in the path
      • pathInterrupted

        void pathInterrupted​(Waypoint waypoint,
                             Pose pose,
                             int sequence)
        called when the robot has stopped, not at a Waypoint
        Parameters:
        waypoint - toward which the robot was moving
        pose - current pose of the robot
        sequence - number of the next Waypoint