Package frc.robot

Class RobotContainer

java.lang.Object
frc.robot.RobotContainer

public class RobotContainer extends Object
This class is where the bulk of the robot should be declared. Since Command-based is a "declarative" paradigm, very little robot logic should actually be handled in the Robot periodic methods (other than the scheduler calls). Instead, the structure of the robot (including subsystems, commands, and trigger mappings) should be declared here.
  • Field Details

  • Constructor Details

    • RobotContainer

      public RobotContainer()
      The container for the robot. Contains subsystems, OI devices, and commands.
  • Method Details

    • outputValues

      public String outputValues(Supplier<Double> distance, Supplier<Double> armAngle)
    • doVisionUpdates

      public void doVisionUpdates(boolean doVisionUpdates)
    • getAutonomousCommand

      public Command getAutonomousCommand()
      Use this to pass the autonomous command to the main Robot class.
      Returns:
      the command to run in autonomous
    • setMotorBrake

      public void setMotorBrake(boolean isBraked)
    • turnToSpeaker

      public Command turnToSpeaker()
    • turnToSpeaker

      public Command turnToSpeaker(Supplier<Double> yMovement, Supplier<Double> xMovement)
    • aimAtSpeaker

      public Command aimAtSpeaker(Supplier<Double> yMovement, Supplier<Double> xMovement)
    • teleopInit

      public void teleopInit()
    • pointAwayFromSpeaker

      public Command pointAwayFromSpeaker()
      DOES NOT ACTAULLY TURN TO ZERO BE AWARE
    • turnSideways

      public Command turnSideways()
    • turnAwayFromAmp

      public Command turnAwayFromAmp()
    • StopShooter

      public void StopShooter()