File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
src/main/java/org/frc6423/robot/subsystems/arm Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ // Copyright (c) 2025 FRC 6423 - Ward Melville Iron Patriots
2+ // https://github.com/wmironpatriots
3+ //
4+ // Open Source Software; you can modify and/or share it under the terms of
5+ // MIT license file in the root directory of this project
6+
7+ package org .frc6423 .robot .subsystems .arm ;
8+
9+ /** Represents generalized hardware methods for {@link Arm} Subsystem's pivoting component */
10+ public interface ArmPivotIO extends AutoCloseable {
11+ /**
12+ * @return pivot motor angle in radians
13+ */
14+ public double angle ();
15+
16+ /**
17+ * Set pivot motor voltage setpoint
18+ *
19+ * @param volts desired voltage
20+ */
21+ public void setVoltage (double volts );
22+
23+ /**
24+ * Set pivot motor angle goal for on board closed-loop control
25+ *
26+ * @param angleRads desired angle in radians
27+ */
28+ public void setAngle (double angleRads );
29+ }
You can’t perform that action at this time.
0 commit comments