17template <
size_t NumModules>
45 for (
size_t i = 0; i < NumModules; i++) {
55 for (
size_t i = 0; i < NumModules; i++) {
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
This class is a wrapper around std::array that does compile time size checking.
Definition: array.h:26
result
Definition: format.h:2564
Definition: AprilTagPoseEstimator.h:15
constexpr empty_array_t empty_array
Definition: array.h:16
Represents the wheel positions for a swerve drive drivetrain.
Definition: SwerveDriveWheelPositions.h:18
SwerveDriveWheelPositions< NumModules > Interpolate(const SwerveDriveWheelPositions< NumModules > &endValue, double t) const
Definition: SwerveDriveWheelPositions.h:51
bool operator==(const SwerveDriveWheelPositions &other) const =default
Checks equality between this SwerveDriveWheelPositions and another object.
SwerveDriveWheelPositions< NumModules > operator-(const SwerveDriveWheelPositions< NumModules > &other) const
Definition: SwerveDriveWheelPositions.h:41
wpi::array< SwerveModulePosition, NumModules > positions
The distances driven by the wheels.
Definition: SwerveDriveWheelPositions.h:22
bool operator!=(const SwerveDriveWheelPositions &other) const =default
Checks inequality between this SwerveDriveWheelPositions and another object.