DashboardPoseTracker

This is the DashboardPoseTracker class. This tracks the pose history of the robot through a PoseUpdater, adding to the pose history at specified increments of time and storing the history for a specified length of time.

Author

Anyi Lin - 10158 Scott's Bots

Constructors

Link copied to clipboard
public void DashboardPoseTracker(PoseUpdater poseUpdater)
This creates a new DashboardPoseTracker from a PoseUpdater.

Functions

Link copied to clipboard
public Array<double> getXPositionsArray()
This returns the x positions of the pose history as an Array of doubles.
Link copied to clipboard
public Array<double> getYPositionsArray()
This returns the y positions of the pose history as an Array of doubles.
Link copied to clipboard
public void update()
This updates the DashboardPoseTracker.