Drive
Abstraction for generic robot drive motion and localization. Robot poses are specified in a coordinate system with positive x pointing forward, positive y pointing left, and positive heading measured counter-clockwise from the x-axis.
Inheritors
Properties
Localizer used to determine the evolution of poseEstimate.
The robot's current pose estimate.
Current robot pose velocity (optional)
Functions
Localizer used to determine the evolution of poseEstimate.
Sets the current commanded drive state of the robot. Feedforward is not applied to drivePower.
Sets the current commanded drive state of the robot. Feedforward is applied to driveSignal before it reaches the motors.
Localizer used to determine the evolution of poseEstimate.
Scales drivePower so that the commanded powers are all within [-1.0, 1.0]
.
Updates poseEstimate with the most recent positional change.