40 units::meters_per_second_squared_t maxLinearAccel,
41 units::radians_per_second_squared_t maxAngularAccel);
57 units::meters_per_second_squared_t minLinearAccel,
58 units::meters_per_second_squared_t maxLinearAccel,
59 units::radians_per_second_squared_t maxAngularAccel);
71 units::meters_per_second_t leftVelocity,
72 units::meters_per_second_t rightVelocity, units::volt_t leftVoltage,
73 units::volt_t rightVoltage);
77 units::meter_t m_trackwidth;
78 units::meters_per_second_squared_t m_minLinearAccel;
79 units::meters_per_second_squared_t m_maxLinearAccel;
80 units::radians_per_second_squared_t m_maxAngularAccel;
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
Filters the provided voltages to limit a differential drive's linear and angular acceleration.
Definition: DifferentialDriveAccelerationLimiter.h:27
DifferentialDriveAccelerationLimiter(LinearSystem< 2, 2, 2 > system, units::meter_t trackwidth, units::meters_per_second_squared_t minLinearAccel, units::meters_per_second_squared_t maxLinearAccel, units::radians_per_second_squared_t maxAngularAccel)
Constructs a DifferentialDriveAccelerationLimiter.
DifferentialDriveWheelVoltages Calculate(units::meters_per_second_t leftVelocity, units::meters_per_second_t rightVelocity, units::volt_t leftVoltage, units::volt_t rightVoltage)
Returns the next voltage pair subject to acceleraiton constraints.
DifferentialDriveAccelerationLimiter(LinearSystem< 2, 2, 2 > system, units::meter_t trackwidth, units::meters_per_second_squared_t maxLinearAccel, units::radians_per_second_squared_t maxAngularAccel)
Constructs a DifferentialDriveAccelerationLimiter.
Definition: AprilTagPoseEstimator.h:15
Motor voltages for a differential drive.
Definition: DifferentialDriveWheelVoltages.h:14