Pose Updater
This is the PoseUpdater class. This class handles getting pose data from the localizer and returning the information in a useful way to the Follower.
Author
Anyi Lin - 10158 Scott's Bots
Aaron Yang - 10158 Scott's Bots
Harrison Womack - 10158 Scott's Bots
Baron Henderson - 20077 The Indubitables
Constructors
Properties
Functions
Link copied to clipboard
This applies the offset to a specified Pose.
Link copied to clipboard
This returns the acceleration of the robot as a Vector.
Link copied to clipboard
This returns the angular velocity of the robot as a double.
Link copied to clipboard
Returns the robot's change in pose from the previous update.
Link copied to clipboard
This returns the heading offset.
Link copied to clipboard
This returns the Localizer.
Link copied to clipboard
This returns the IMU heading normalized to be between [0, 2 PI] radians.
Link copied to clipboard
Returns the robot's pose from the previous update.
Link copied to clipboard
This returns the current raw pose, without any offsets applied.
Link copied to clipboard
This returns the total number of radians the robot has turned.
Link copied to clipboard
This returns the velocity of the robot as a Vector.
Link copied to clipboard
This returns the x offset.
Link copied to clipboard
This returns the y offset.
Link copied to clipboard
This resets the heading of the robot to the IMU's heading, using Road Runner's pose reset.
Link copied to clipboard
This resets the heading of the robot to the IMU's heading, using offsets instead of Road Runner's pose reset.
Link copied to clipboard
This resets all offsets set to the PoseUpdater.
Link copied to clipboard
This sets the current pose, using offsets.
Link copied to clipboard
This sets the offset for only the heading.
Link copied to clipboard
This sets the starting pose.
Link copied to clipboard
This sets the offset for only the x position.
Link copied to clipboard
This sets the offset for only the y position.