The subsystem class that is responsible for the Arm. More...
Public Member Functions | |
ArmSubsystem (ArmIO io) | |
Associates the Arm Input/Output object with the Arm Subsystem. | |
void | periodic () |
Method that will be called once per scheduler run. | |
The subsystem class that is responsible for the Arm.
frc.robot.subsystems.Arm.ArmSubsystem.ArmSubsystem | ( | ArmIO | io | ) |
void frc.robot.subsystems.Arm.ArmSubsystem.periodic | ( | ) |
Method that will be called once per scheduler run.
If the difference between the desired and current is: Large ( diff > first_threshold ): Uses MotionMagic Voltage Small ( diff <= first_threshold ): Checks Difference with new Threshold
If the difference type is Small, it considers the difference again: Large ( diff > second_threshold ): Uses Position Voltage Small ( diff <= second_threshold ): Motors Stop