20 units::meter_t left = 0_m;
25 units::meter_t right = 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 differential drive drivetrain.
Definition: DifferentialDriveWheelPositions.h:16
bool operator==(const DifferentialDriveWheelPositions &other) const =default
Checks equality between this DifferentialDriveWheelPositions and another object.
bool operator!=(const DifferentialDriveWheelPositions &other) const =default
Checks inequality between this DifferentialDriveWheelPositions and another object.
units::meter_t left
Distance driven by the left side.
Definition: DifferentialDriveWheelPositions.h:20
units::meter_t right
Distance driven by the right side.
Definition: DifferentialDriveWheelPositions.h:25
DifferentialDriveWheelPositions Interpolate(const DifferentialDriveWheelPositions &endValue, double t) const
Definition: DifferentialDriveWheelPositions.h:45