10#include "wpi/units/acceleration.hpp"
11#include "wpi/units/angular_acceleration.hpp"
12#include "wpi/units/angular_velocity.hpp"
13#include "wpi/units/length.hpp"
14#include "wpi/units/time.hpp"
15#include "wpi/units/velocity.hpp"
16#include "wpi/units/voltage.hpp"
44 decltype(1_V / 1_rad_per_s_sq)
kAAngular, wpi::units::meter_t trackwidth)
89 wpi::units::meters_per_second_t currentLeftVelocity,
90 wpi::units::meters_per_second_t nextLeftVelocity,
91 wpi::units::meters_per_second_t currentRightVelocity,
92 wpi::units::meters_per_second_t nextRightVelocity,
93 wpi::units::second_t dt);
#define WPILIB_DLLEXPORT
Definition SymbolExports.hpp:36
decltype(1_V/1_mps) kVLinear
Definition DifferentialDriveFeedforward.hpp:95
decltype(1_V/1_mps) kVAngular
Definition DifferentialDriveFeedforward.hpp:97
constexpr 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.
Definition DifferentialDriveFeedforward.hpp:63
constexpr 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, wpi::units::meter_t trackwidth)
Creates a new DifferentialDriveFeedforward with the specified parameters.
Definition DifferentialDriveFeedforward.hpp:41
DifferentialDriveWheelVoltages Calculate(wpi::units::meters_per_second_t currentLeftVelocity, wpi::units::meters_per_second_t nextLeftVelocity, wpi::units::meters_per_second_t currentRightVelocity, wpi::units::meters_per_second_t nextRightVelocity, wpi::units::second_t dt)
Calculates the differential drive feedforward inputs given velocity setpoints.
decltype(1_V/1_mps_sq) kALinear
Definition DifferentialDriveFeedforward.hpp:96
decltype(1_V/1_mps_sq) kAAngular
Definition DifferentialDriveFeedforward.hpp:98
A plant defined using state-space notation.
Definition LinearSystem.hpp:35
Linear system factories.
Definition Models.hpp:26
Definition LinearSystem.hpp:20
Definition CvSource.hpp:15
Motor voltages for a differential drive.
Definition DifferentialDriveWheelVoltages.hpp:14