lejos.robotics.localization
Class MCLPoseProvider
java.lang.Object
lejos.robotics.localization.MCLPoseProvider
- All Implemented Interfaces:
- PoseProvider, MoveListener
public class MCLPoseProvider
- extends Object
- implements PoseProvider, MoveListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCLPoseProvider
public MCLPoseProvider(MovementProvider mp,
RangeScanner scanner,
RangeMap map,
int numParticles,
int border)
getParticles
public MCLParticleSet getParticles()
movementStarted
public void movementStarted(Movement event,
MovementProvider mp)
- Description copied from interface:
MoveListener
- Called when a Movement Provider starts a move
- Specified by:
movementStarted
in interface MoveListener
- Parameters:
event
- the movementmp
- the movement provider
movementStopped
public void movementStopped(Movement event,
MovementProvider mp)
- Description copied from interface:
MoveListener
- Called by the movementr provider when a move stops
- Specified by:
movementStopped
in interface MoveListener
- Parameters:
event
- the movementmp
- movement provider
getPose
public Pose getPose()
- Specified by:
getPose
in interface PoseProvider