Class Pad.Stick

java.lang.Object
com.crossbotics.ftchelper.robot.Pad.Stick
Enclosing class:
Pad

public static final class Pad.Stick extends Object
One stick direction: up and right are +, from -1 to 1.
  • Method Details

    • toString

      public String toString()
      "G2 left stick Y".
      Overrides:
      toString in class Object
    • use

      public Pad.Stick use(DoubleConsumer use)
      Gives the stick's value to use every loop (0 when it rests in the middle). A small dead zone and a gentle curve make slow moves easy.
    • free

      public Pad.Stick free()
      No job: it stays free, even if a module suggested one for it.
    • says

      public Pad.Stick says(String words)
      Words for the help page.