2#include <frc/kinematics/ChassisSpeeds.h>
3#include <frc/kinematics/MecanumDriveWheelSpeeds.h>
5#include "valkyrie/controllers/BaseController.h"
17enum class OutputType {
71 BaseController::Output frontRightFF = 0;
72 BaseController::Output rearLeftFF = 0;
73 BaseController::Output rearRightFF = 0;
147 BaseController::Output frontRightFF = 0;
148 BaseController::Output rearLeftFF = 0;
149 BaseController::Output rearRightFF = 0;
Request structure for commanding a swerve drivetrain using chassis speeds.
Definition Requests.h:49
bool desaturateWheelSpeeds
Whether to desaturate wheel speeds.
Definition Requests.h:106
frc::ChassisSpeeds speeds
Desired chassis-relative or field-relative motion.
Definition Requests.h:55
BaseController::Output zeroOutput
Default output value used when speeds are below the given deadband.
Definition Requests.h:81
bool fieldRelative
Whether the chassis speeds are field-relative.
Definition Requests.h:114
OutputType outputType
Output control mode used when applying drive requests.
Definition Requests.h:90
bool discretize
Whether to discretize the chassis speeds.
Definition Requests.h:98
frc::Translation2d centerOfRotation
Center of rotation for the drivetrain motion.
Definition Requests.h:62
units::meters_per_second_t deadband
Minimum wheel speed required before motion is applied.
Definition Requests.h:122
BaseController::Output frontLeftFF
Optional feedforward outputs for each swerve module.
Definition Requests.h:70
Request structure for commanding a swerve drivetrain using explicit module states.
Definition Requests.h:132
OutputType outputType
Output control mode used when applying drive requests.
Definition Requests.h:163
frc::MecanumDriveWheelSpeeds speeds
Desired states for each swerve module.
Definition Requests.h:138
units::meters_per_second_t deadband
Minimum wheel speed required before motion is applied.
Definition Requests.h:179
BaseController::Output zeroOutput
Default output value used when no feedforward is provided.
Definition Requests.h:154
bool desaturateWheelSpeeds
Whether to desaturate wheel speeds.
Definition Requests.h:171
BaseController::Output frontLeftFF
Optional feedforward outputs for each swerve module.
Definition Requests.h:146