Skip to content

Commit

Permalink
added parameter for setAngle
Browse files Browse the repository at this point in the history
  • Loading branch information
StewardHail3433 committed Jan 13, 2024
1 parent ad4d962 commit 3c9a2c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/frc/robot/subsystems/Arm.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package frc.robot.subsystems;

public interface Arm {
// gets the angle of the arm.
public default void getAngle() {}

// sets of the angle of the arm.
public default double setAngle() {
// gets the angle of the arm
public default double getAngle() {
return 0;
}

// sets of the angle of the arm
public default void setAngle(double degrees) {}
}

0 comments on commit 3c9a2c3

Please sign in to comment.