Package com.crossbotics.ftchelper.robot
Class Wrist
- All Implemented Interfaces:
Subsystem
A wrist on one servo, with named angles (raw servo positions).
wrist = add(Wrist.servo("wrist")); // Robot.java
public static class Wrist { // Tunables.java (servo 0 to 1)
public static double down = 0.15, level = 0.5, up = 0.85;
}
Suggested buttons: operator D-pad left/right go to the next position down/up (lowest value first). Docs: docs/modules/robot.md (section "Wrist")
-
Method Details
-
servo
A wrist on this servo.- Parameters:
servo- the servo's configuration name
-
next
public void next()The next position (by value; after the last comes the first). -
previous
public void previous()The previous position.
-