Class DefaultDriverProfile

java.lang.Object
frc.robot.services.control.GenericControlProfile
frc.robot.services.control.driver.profiles.DefaultDriverProfile
All Implemented Interfaces:
ControlProfile, DriverProfile

public class DefaultDriverProfile extends GenericControlProfile implements DriverProfile
Default implementation of the DriverProfile for controlling the robot drivetrain.
  • Constructor Details

    • DefaultDriverProfile

      public DefaultDriverProfile(XboxController controller, LinearVelocity maxLinearVelocity, AngularVelocity maxAngularVelocity, BooleanSupplier isRobotReadyToFire)
      Constructs a DefaultDriverProfile.
      Parameters:
      controller - The Xbox controller used for input.
      maxLinearVelocity - The maximum linear velocity allowed.
      maxAngularVelocity - The maximum angular velocity allowed.
      isRobotReadyToFire - BooleanSupplier indicating if the robot is ready to fire.
  • Method Details