Drive Encoder Localizer
This is the DriveEncoderLocalizer class. This class extends the Localizer superclass and is a localizer that uses the drive encoder set up.
Author
Anyi Lin - 10158 Scott's Bots
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public double totalHeading
Link copied to clipboard
Functions
Link copied to clipboard
This returns the multiplier applied to forward movement measurement to convert from encoder ticks to inches.
Link copied to clipboard
This returns the multiplier applied to lateral/strafe movement measurement to convert from encoder ticks to inches.
Link copied to clipboard
This calculates the change in position from the perspective of the robot using information from the Encoders.
Link copied to clipboard
This returns how far the robot has turned in radians, in a number not clamped between 0 and 2 * pi radians.
Link copied to clipboard
This returns the multiplier applied to turning movement measurement to convert from encoder ticks to radians.
Link copied to clipboard
This returns the current velocity estimate.
Link copied to clipboard
This returns the current velocity estimate.
Link copied to clipboard
This resets the Encoders.
Link copied to clipboard
This sets the Matrix that contains the previous pose's heading rotation.
Link copied to clipboard
This sets the start pose.
Link copied to clipboard
This updates the Encoders.