WPILibC++ 2023.4.3-108-ge5452e3
|
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 > | operator- (const SwerveDriveWheelPositions< NumModules > &other) const |
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. |
|
inline |
|
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.