Package edu.wpi.first.wpilibj.drive
Class DifferentialDrive.WheelSpeeds
java.lang.Object
edu.wpi.first.wpilibj.drive.DifferentialDrive.WheelSpeeds
- Enclosing class:
- DifferentialDrive
public static class DifferentialDrive.WheelSpeeds extends Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description WheelSpeeds()
Constructs a WheelSpeeds with zeroes for left and right speeds.WheelSpeeds(double left, double right)
Constructs a WheelSpeeds. -
Method Summary
-
Field Details
-
Constructor Details
-
WheelSpeeds
public WheelSpeeds()Constructs a WheelSpeeds with zeroes for left and right speeds. -
WheelSpeeds
Constructs a WheelSpeeds.- Parameters:
left
- The left speed.right
- The right speed.
-