mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
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:
committed by
Peter Johnson
parent
c89678971c
commit
72a79aac53
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user