Class FlywheelIO.FlywheelIOInputs
java.lang.Object
frc.robot.subsystems.shooter.flywheel.FlywheelIO.FlywheelIOInputs
- Enclosing interface:
- FlywheelIO
Contains all of the inputs received from the flywheel hardware.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe current being drawn by the motor.The voltage currently being applied to the motor.booleanWhether the motor controller is successfully connected.booleanWhether the motor is functioning correctly.The current position of the flywheel.int[]The full status of the flywheel motor controller.The current angular velocity of the flywheel. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
connected
public boolean connectedWhether the motor controller is successfully connected. -
position
The current position of the flywheel. -
velocity
The current angular velocity of the flywheel. -
appliedVoltage
The voltage currently being applied to the motor. -
appliedCurrent
The current being drawn by the motor. -
healthy
public boolean healthyWhether the motor is functioning correctly. -
status
public int[] statusThe full status of the flywheel motor controller.
-
-
Constructor Details
-
FlywheelIOInputs
public FlywheelIOInputs()
-