lejos.robotics.navigation
Interface MoveProvider

All Known Subinterfaces:
ArcMoveController, ArcRotateMoveController, MoveController, RotateMoveController
All Known Implementing Classes:
CompassPilot, DifferentialPilot, OmniPilot, SteeringPilot

public interface MoveProvider

Should be implemented by a Pilot that provides a partial movement to a pose when requested.

Author:
nxj team

Method Summary
 void addMoveListener(MoveListener listener)
          Adds a MoveListener that will be notified of all movement events.
 Move getMovement()
          Returns the move made since the move started, but before it has completed.
 

Method Detail

getMovement

Move getMovement()
Returns the move made since the move started, but before it has completed. This method is used by GUI maps to display the movement of a robot in real time. The robot must be capable of determining the move while it is in motion.

Returns:
The move made since the move started.

addMoveListener

void addMoveListener(MoveListener listener)
Adds a MoveListener that will be notified of all movement events.

Parameters:
listener - the move listener