42 decltype(1_V / 1_mps_sq) kALinear,
43 decltype(1_V / 1_rad_per_s) kVAngular,
44 decltype(1_V / 1_rad_per_s_sq) kAAngular,
45 units::meter_t trackwidth);
59 decltype(1_V / 1_mps_sq) kALinear,
60 decltype(1_V / 1_mps) kVAngular,
61 decltype(1_V / 1_mps_sq) kAAngular);
78 units::meters_per_second_t currentLeftVelocity,
79 units::meters_per_second_t nextLeftVelocity,
80 units::meters_per_second_t currentRightVelocity,
81 units::meters_per_second_t nextRightVelocity, units::second_t dt);
#define WPILIB_DLLEXPORT
Definition: SymbolExports.h:36
A helper class which computes the feedforward outputs for a differential drive drivetrain.
Definition: DifferentialDriveFeedforward.h:24
DifferentialDriveWheelVoltages Calculate(units::meters_per_second_t currentLeftVelocity, units::meters_per_second_t nextLeftVelocity, units::meters_per_second_t currentRightVelocity, units::meters_per_second_t nextRightVelocity, units::second_t dt)
Calculates the differential drive feedforward inputs given velocity setpoints.
DifferentialDriveFeedforward(decltype(1_V/1_mps) kVLinear, decltype(1_V/1_mps_sq) kALinear, decltype(1_V/1_mps) kVAngular, decltype(1_V/1_mps_sq) kAAngular)
Creates a new DifferentialDriveFeedforward with the specified parameters.
DifferentialDriveFeedforward(decltype(1_V/1_mps) kVLinear, decltype(1_V/1_mps_sq) kALinear, decltype(1_V/1_rad_per_s) kVAngular, decltype(1_V/1_rad_per_s_sq) kAAngular, units::meter_t trackwidth)
Creates a new DifferentialDriveFeedforward with the specified parameters.
Definition: AprilTagPoseEstimator.h:15
Motor voltages for a differential drive.
Definition: DifferentialDriveWheelVoltages.h:14