public class CompassPoseProvider extends OdometryPoseProvider
Modifier and Type | Field and Description |
---|---|
private DirectionFinder |
compass |
current, mp
Constructor and Description |
---|
CompassPoseProvider(MoveProvider mp,
DirectionFinder compass) |
Modifier and Type | Method and Description |
---|---|
Pose |
getPose()
returns a new pose that represents the current location and heading of the robot.
|
fetchSample, moveStarted, moveStopped, sampleSize, setPose
public CompassPoseProvider(MoveProvider mp, DirectionFinder compass)
public Pose getPose()
OdometryPoseProvider
getPose
in interface PoseProvider
getPose
in class OdometryPoseProvider