WPILibC++ 2024.3.2
|
Represents the wheel positions for a differential drive drivetrain. More...
#include <frc/kinematics/DifferentialDriveWheelPositions.h>
Public Member Functions | |
bool | operator== (const DifferentialDriveWheelPositions &other) const =default |
Checks equality between this DifferentialDriveWheelPositions and another object. More... | |
bool | operator!= (const DifferentialDriveWheelPositions &other) const =default |
Checks inequality between this DifferentialDriveWheelPositions and another object. More... | |
DifferentialDriveWheelPositions | Interpolate (const DifferentialDriveWheelPositions &endValue, double t) const |
Public Attributes | |
units::meter_t | left = 0_m |
Distance driven by the left side. More... | |
units::meter_t | right = 0_m |
Distance driven by the right side. More... | |
Represents the wheel positions for a differential drive drivetrain.
|
inline |
|
default |
Checks inequality between this DifferentialDriveWheelPositions and another object.
other | The other object. |
|
default |
Checks equality between this DifferentialDriveWheelPositions and another object.
other | The other object. |
units::meter_t frc::DifferentialDriveWheelPositions::left = 0_m |
Distance driven by the left side.
units::meter_t frc::DifferentialDriveWheelPositions::right = 0_m |
Distance driven by the right side.