7#include "wpi/units/acceleration.hpp"
18 units::meters_per_second_squared_t
frontLeft = 0_mps_sq;
23 units::meters_per_second_squared_t
frontRight = 0_mps_sq;
28 units::meters_per_second_squared_t
rearLeft = 0_mps_sq;
33 units::meters_per_second_squared_t
rearRight = 0_mps_sq;
64 return *
this + -other;
#define WPILIB_DLLEXPORT
Definition SymbolExports.hpp:36
Definition LinearSystem.hpp:20
Represents the wheel accelerations for a mecanum drive drivetrain.
Definition MecanumDriveWheelAccelerations.hpp:14
constexpr MecanumDriveWheelAccelerations operator*(double scalar) const
Multiplies the MecanumDriveWheelAccelerations by a scalar and returns the new MecanumDriveWheelAccele...
Definition MecanumDriveWheelAccelerations.hpp:88
units::meters_per_second_squared_t rearRight
Acceleration of the rear-right wheel.
Definition MecanumDriveWheelAccelerations.hpp:33
constexpr MecanumDriveWheelAccelerations operator+(const MecanumDriveWheelAccelerations &other) const
Adds two MecanumDriveWheelAccelerations and returns the sum.
Definition MecanumDriveWheelAccelerations.hpp:45
units::meters_per_second_squared_t frontRight
Acceleration of the front-right wheel.
Definition MecanumDriveWheelAccelerations.hpp:23
units::meters_per_second_squared_t rearLeft
Acceleration of the rear-left wheel.
Definition MecanumDriveWheelAccelerations.hpp:28
units::meters_per_second_squared_t frontLeft
Acceleration of the front-left wheel.
Definition MecanumDriveWheelAccelerations.hpp:18
constexpr MecanumDriveWheelAccelerations operator-(const MecanumDriveWheelAccelerations &other) const
Subtracts the other MecanumDriveWheelAccelerations from the current MecanumDriveWheelAccelerations an...
Definition MecanumDriveWheelAccelerations.hpp:62
constexpr MecanumDriveWheelAccelerations operator-() const
Returns the inverse of the current MecanumDriveWheelAccelerations.
Definition MecanumDriveWheelAccelerations.hpp:74
constexpr MecanumDriveWheelAccelerations operator/(double scalar) const
Divides the MecanumDriveWheelAccelerations by a scalar and returns the new MecanumDriveWheelAccelerat...
Definition MecanumDriveWheelAccelerations.hpp:103
constexpr bool operator==(const MecanumDriveWheelAccelerations &other) const =default
Compares two MecanumDriveWheelAccelerations objects.