Class FlywheelIO.FlywheelIOInputs

java.lang.Object
frc.robot.subsystems.shooter.flywheel.FlywheelIO.FlywheelIOInputs
Enclosing interface:
FlywheelIO

public static class FlywheelIO.FlywheelIOInputs extends Object
Contains all of the inputs received from the flywheel hardware.
  • Field Details

    • connected

      public boolean connected
      Whether the motor controller is successfully connected.
    • position

      public Angle position
      The current position of the flywheel.
    • velocity

      public AngularVelocity velocity
      The current angular velocity of the flywheel.
    • appliedVoltage

      public Voltage appliedVoltage
      The voltage currently being applied to the motor.
    • appliedCurrent

      public Current appliedCurrent
      The current being drawn by the motor.
    • healthy

      public boolean healthy
      Whether the motor is functioning correctly.
    • status

      public int[] status
      The full status of the flywheel motor controller.
  • Constructor Details

    • FlywheelIOInputs

      public FlywheelIOInputs()