7#include "wpi/units/length.hpp"
19 wpi::units::meter_t
left = 0_m;
24 wpi::units::meter_t
right = 0_m;
#define WPILIB_DLLEXPORT
Definition SymbolExports.hpp:36
Definition LinearSystem.hpp:20
constexpr T Lerp(const T &startValue, const T &endValue, double t)
Linearly interpolates between two values.
Definition MathExtras.hpp:780
Represents the wheel positions for a differential drive drivetrain.
Definition DifferentialDriveWheelPositions.hpp:15
wpi::units::meter_t left
Distance driven by the left side.
Definition DifferentialDriveWheelPositions.hpp:19
constexpr DifferentialDriveWheelPositions Interpolate(const DifferentialDriveWheelPositions &endValue, double t) const
Definition DifferentialDriveWheelPositions.hpp:36
wpi::units::meter_t right
Distance driven by the right side.
Definition DifferentialDriveWheelPositions.hpp:24
constexpr bool operator==(const DifferentialDriveWheelPositions &other) const =default
Checks equality between this DifferentialDriveWheelPositions and another object.