WPILibC++ 2024.3.2
|
Represents the wheel positions for a swerve drive drivetrain. More...
#include <frc/kinematics/SwerveDriveWheelPositions.h>
Public Member Functions | |
bool | operator== (const SwerveDriveWheelPositions &other) const =default |
Checks equality between this SwerveDriveWheelPositions and another object. More... | |
bool | operator!= (const SwerveDriveWheelPositions &other) const =default |
Checks inequality between this SwerveDriveWheelPositions and another object. More... | |
SwerveDriveWheelPositions< NumModules > | Interpolate (const SwerveDriveWheelPositions< NumModules > &endValue, double t) const |
Public Attributes | |
wpi::array< SwerveModulePosition, NumModules > | positions |
The distances driven by the wheels. More... | |
Represents the wheel positions for a swerve drive drivetrain.
|
inline |
|
default |
Checks inequality between this SwerveDriveWheelPositions and another object.
other | The other object. |
|
default |
Checks equality between this SwerveDriveWheelPositions and another object.
other | The other object. |
wpi::array<SwerveModulePosition, NumModules> frc::SwerveDriveWheelPositions< NumModules >::positions |
The distances driven by the wheels.