2#include <frc/kinematics/ChassisSpeeds.h>
3#include <frc/kinematics/MecanumDriveWheelSpeeds.h>
4#include <valkyrie/controllers/BaseController.h>
16enum class OutputType {
70 BaseController::Output frontRightFF = 0;
71 BaseController::Output rearLeftFF = 0;
72 BaseController::Output rearRightFF = 0;
146 BaseController::Output frontRightFF = 0;
147 BaseController::Output rearLeftFF = 0;
148 BaseController::Output rearRightFF = 0;
Request structure for commanding a swerve drivetrain using chassis speeds.
Definition Requests.h:48
bool desaturateWheelSpeeds
Whether to desaturate wheel speeds.
Definition Requests.h:105
frc::ChassisSpeeds speeds
Desired chassis-relative or field-relative motion.
Definition Requests.h:54
BaseController::Output zeroOutput
Default output value used when speeds are below the given deadband.
Definition Requests.h:80
bool fieldRelative
Whether the chassis speeds are field-relative.
Definition Requests.h:113
OutputType outputType
Output control mode used when applying drive requests.
Definition Requests.h:89
bool discretize
Whether to discretize the chassis speeds.
Definition Requests.h:97
frc::Translation2d centerOfRotation
Center of rotation for the drivetrain motion.
Definition Requests.h:61
units::meters_per_second_t deadband
Minimum wheel speed required before motion is applied.
Definition Requests.h:121
BaseController::Output frontLeftFF
Optional feedforward outputs for each swerve module.
Definition Requests.h:69
Request structure for commanding a swerve drivetrain using explicit module states.
Definition Requests.h:131
OutputType outputType
Output control mode used when applying drive requests.
Definition Requests.h:162
frc::MecanumDriveWheelSpeeds speeds
Desired states for each swerve module.
Definition Requests.h:137
units::meters_per_second_t deadband
Minimum wheel speed required before motion is applied.
Definition Requests.h:178
BaseController::Output zeroOutput
Default output value used when no feedforward is provided.
Definition Requests.h:153
bool desaturateWheelSpeeds
Whether to desaturate wheel speeds.
Definition Requests.h:170
BaseController::Output frontLeftFF
Optional feedforward outputs for each swerve module.
Definition Requests.h:145