![]() |
WPILibC++ 2027.0.0-alpha-4
|
Represents the wheel positions for a differential drive drivetrain. More...
#include <wpi/math/kinematics/DifferentialDriveWheelPositions.hpp>
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 | |
| wpi::units::meter_t | left = 0_m |
| Distance driven by the left side. | |
| wpi::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. |
| wpi::units::meter_t wpi::math::DifferentialDriveWheelPositions::left = 0_m |
Distance driven by the left side.
| wpi::units::meter_t wpi::math::DifferentialDriveWheelPositions::right = 0_m |
Distance driven by the right side.