Class Wrist

All Implemented Interfaces:
Subsystem

public final class Wrist extends ServoPositions<Wrist>
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

      public static Wrist servo(String 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.