Class ExampleSubsystem

java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.ExampleSubsystem
All Implemented Interfaces:
Sendable, Subsystem

public class ExampleSubsystem extends SubsystemBase
  • Constructor Details

    • ExampleSubsystem

      public ExampleSubsystem()
      Creates a new ExampleSubsystem.
  • Method Details

    • exampleMethodCommand

      public Command exampleMethodCommand()
      Example command factory method.
      Returns:
      a command
    • exampleCondition

      public boolean exampleCondition()
      An example method querying a boolean state of the subsystem (for example, a digital sensor).
      Returns:
      value of some boolean subsystem state, such as a digital sensor.
    • periodic

      public void periodic()
    • simulationPeriodic

      public void simulationPeriodic()