Package lejos.robotics.navigation
Interface MoveProvider
-
- All Known Subinterfaces:
ArcMoveController,ArcRotateMoveController,LineFollowingMoveController,MoveController,RotateMoveController
- All Known Implementing Classes:
CompassPilot,DifferentialPilot,MovePilot,OmniPilot,RemoteRequestPilot,SteeringPilot
public interface MoveProviderShould be implemented by a Pilot that provides a partial movement to a pose when requested.- Author:
- nxj team
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddMoveListener(MoveListener listener)Adds a MoveListener that will be notified of all movement events.MovegetMovement()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
-
-