Skip to content

Commit

Permalink
Task 5 Completion
Browse files Browse the repository at this point in the history
  • Loading branch information
Wardah Saeed committed Oct 24, 2024
1 parent 83be01a commit 2f09f66
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/java/frc/robot/subsystems/Servo.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

0 comments on commit 2f09f66

Please sign in to comment.