Skip to content

Commit 7c5d0e0

Browse files
committed
javadoc commment
1 parent fc6fa48 commit 7c5d0e0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/java/frc/robot/subsystems/Cannon.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
/**
2222
* The Subsystem class representing the cannon.
2323
*/
24-
2524
public class Cannon extends SubsystemBase {
2625
public CANSparkMax m_pM;
2726
public Solenoid m_v1, m_v2, m_v3; // TODO: switch to low, med, high
@@ -57,6 +56,12 @@ private Cannon(){
5756

5857
}
5958

59+
/**
60+
* Actuate valves based on boolean input
61+
* @param v1 State of valve 1
62+
* @param v2 State of valve 2
63+
* @param v3 State of valve 3
64+
*/
6065
public void setValves(boolean v1, boolean v2, boolean v3){
6166
System.out.println("Setting valve");
6267
m_v1.set(v1);

0 commit comments

Comments
 (0)