Fixed the names of the arguments to some C++ drive classes (#1070)

The docs already have the correct name, but some headers and sources
weren't updated. Java doesn't have this mistake.
This commit is contained in:
Tyler Veness
2018-05-16 19:55:27 -07:00
committed by Peter Johnson
parent c89678971c
commit 72a79aac53
2 changed files with 4 additions and 4 deletions

View File

@@ -72,9 +72,9 @@ class MecanumDrive : public RobotDriveBase {
MecanumDrive(const MecanumDrive&) = delete;
MecanumDrive& operator=(const MecanumDrive&) = delete;
void DriveCartesian(double x, double y, double rotation,
void DriveCartesian(double ySpeed, double xSpeed, double zRotation,
double gyroAngle = 0.0);
void DrivePolar(double magnitude, double angle, double rotation);
void DrivePolar(double magnitude, double angle, double zRotation);
void StopMotor() override;
void GetDescription(wpi::raw_ostream& desc) const override;