Interface DriverProfile
- All Superinterfaces:
ControlProfile
- All Known Implementing Classes:
DefaultDriverProfile,SetpointDriverProfile
Represents a driver profile for controlling the robot drivetrain.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the desired chassis speeds based on joystick input.booleanwantsAim()Returns whether the driver wants to aim.booleanReturns whether the driver wants to reset the robot pose.booleanReturns whether the driver wants to shoot.Methods inherited from interface frc.robot.services.control.ControlProfile
getHID, getLeftRumble, getRightRumble, isConnected
-
Method Details
-
getDesiredSpeeds
ChassisSpeeds getDesiredSpeeds()Returns the desired chassis speeds based on joystick input.- Returns:
- The desired
ChassisSpeeds.
-
wantsAim
boolean wantsAim()Returns whether the driver wants to aim.- Returns:
- True if aiming is requested.
-
wantsShoot
boolean wantsShoot()Returns whether the driver wants to shoot.- Returns:
- True if shooting is requested.
-
wantsReset
boolean wantsReset()Returns whether the driver wants to reset the robot pose.- Returns:
- True if reset is requested.
-