20 units::meter_t frontLeft = 0_m;
25 units::meter_t frontRight = 0_m;
30 units::meter_t rearLeft = 0_m;
35 units::meter_t rearRight = 0_m;
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
Definition: AprilTagPoseEstimator.h:15
constexpr T Lerp(const T &startValue, const T &endValue, double t)
Linearly interpolates between two values.
Definition: MathExtras.h:638
Represents the wheel positions for a mecanum drive drivetrain.
Definition: MecanumDriveWheelPositions.h:16
bool operator==(const MecanumDriveWheelPositions &other) const =default
Checks equality between this MecanumDriveWheelPositions and another object.
MecanumDriveWheelPositions Interpolate(const MecanumDriveWheelPositions &endValue, double t) const
Definition: MecanumDriveWheelPositions.h:54
units::meter_t frontLeft
Distance driven by the front-left wheel.
Definition: MecanumDriveWheelPositions.h:20
units::meter_t rearRight
Distance driven by the rear-right wheel.
Definition: MecanumDriveWheelPositions.h:35
bool operator!=(const MecanumDriveWheelPositions &other) const =default
Checks inequality between this MecanumDriveWheelPositions and another object.
units::meter_t frontRight
Distance driven by the front-right wheel.
Definition: MecanumDriveWheelPositions.h:25
units::meter_t rearLeft
Distance driven by the rear-left wheel.
Definition: MecanumDriveWheelPositions.h:30