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