WPILibC++ 2025.2.1
|
Represents the wheel positions for a mecanum drive drivetrain. More...
#include <frc/kinematics/MecanumDriveWheelPositions.h>
Public Member Functions | |
constexpr bool | operator== (const MecanumDriveWheelPositions &other) const =default |
Checks equality between this MecanumDriveWheelPositions and another object. | |
constexpr MecanumDriveWheelPositions | Interpolate (const MecanumDriveWheelPositions &endValue, double t) const |
Public Attributes | |
units::meter_t | frontLeft = 0_m |
Distance driven by the front-left wheel. | |
units::meter_t | frontRight = 0_m |
Distance driven by the front-right wheel. | |
units::meter_t | rearLeft = 0_m |
Distance driven by the rear-left wheel. | |
units::meter_t | rearRight = 0_m |
Distance driven by the rear-right wheel. | |
Represents the wheel positions for a mecanum drive drivetrain.
|
inlineconstexpr |
|
constexprdefault |
Checks equality between this MecanumDriveWheelPositions and another object.
other | The other object. |
units::meter_t frc::MecanumDriveWheelPositions::frontLeft = 0_m |
Distance driven by the front-left wheel.
units::meter_t frc::MecanumDriveWheelPositions::frontRight = 0_m |
Distance driven by the front-right wheel.
units::meter_t frc::MecanumDriveWheelPositions::rearLeft = 0_m |
Distance driven by the rear-left wheel.
units::meter_t frc::MecanumDriveWheelPositions::rearRight = 0_m |
Distance driven by the rear-right wheel.