diff --git a/src/main/java/frc/robot/subsystems/Servo.java b/src/main/java/frc/robot/subsystems/Servo.java index 8bd4bdb..27ab47b 100644 --- a/src/main/java/frc/robot/subsystems/Servo.java +++ b/src/main/java/frc/robot/subsystems/Servo.java @@ -14,5 +14,10 @@ public Servo(){ //TODO: Task 5-Write functions to control the arm. You should be able to set the arm's angle and get the angle //it is at. //HINT: Type 'm_armServo.' (without quotes) in a method body to see all of the different methods the servo has. - + public void setArmAngle(double Angle) { + m_armServo.setAngle(Angle); + } + public double getArmAngle() { + return m_armServo.getAngle(); + } }