6 #include <frc/commands/Subsystem.h> 7 #include <frc/DigitalInput.h> 8 #include <frc/WPILib.h> 10 #include <frc/AnalogInput.h> 11 #include <frc/PWMVictorSPX.h> 12 #include <ctre/Phoenix.h> 15 class Arm :
public frc::Subsystem {
frc::DigitalInput * pArmHall
hall effects for arm is lowered enough
can::WPI_TalonSRX * pArmMotor2
Pointer for Arm arm motor.
bool GetSensor(void)
Returns whether the hall effects is tripped This is the sensor for when the arm is lowered...
can::WPI_TalonSRX * pArmMotor
Pointer for Arm arm motor.
void MoveArm(double Speed)
Move Arm arm up or down.
void InitDefaultCommand() override
Initalizes the default command for this subsystem (Arm)
A subsystem that controls the Arm of the robot.