Package edu.wpi.first.wpilibj.drive
Class MecanumDrive.WheelSpeeds
java.lang.Object
edu.wpi.first.wpilibj.drive.MecanumDrive.WheelSpeeds
- Enclosing class:
- MecanumDrive
public static class MecanumDrive.WheelSpeeds extends Object
-
Field Summary
Fields Modifier and Type Field Description double
frontLeft
double
frontRight
double
rearLeft
double
rearRight
-
Constructor Summary
Constructors Constructor Description WheelSpeeds()
Constructs a WheelSpeeds with zeroes for all four speeds.WheelSpeeds(double frontLeft, double frontRight, double rearLeft, double rearRight)
Constructs a WheelSpeeds. -
Method Summary
-
Field Details
-
Constructor Details
-
WheelSpeeds
public WheelSpeeds()Constructs a WheelSpeeds with zeroes for all four speeds. -
WheelSpeeds
Constructs a WheelSpeeds.- Parameters:
frontLeft
- The front left speed.frontRight
- The front right speed.rearLeft
- The rear left speed.rearRight
- The rear right speed.
-