Class ShotStats.Shot

java.lang.Object
com.crossbotics.ftchelper.launcher.ShotStats.Shot
Enclosing class:
ShotStats

public static final class ShotStats.Shot extends Object
One fed piece. Times in seconds, speeds in RPM. NaN = not known (yet).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    How far the speed fell below the target after the feed (RPM, 0 or more).
    final double
    Seconds since the piece before it in the same volley (NaN for a volley's first piece).
    The shot mode it was fed in.
    double
    Seconds from the feed until the wheel was ready again (NaN while it is not, or if the next piece came first).
    final double
    The wheel's speed and its target when the piece was fed.
    final double
    The wheel's speed and its target when the piece was fed.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • mode

      public final Launcher.ShotMode mode
      The shot mode it was fed in.
    • rpmAtFeed

      public final double rpmAtFeed
      The wheel's speed and its target when the piece was fed.
    • targetRpm

      public final double targetRpm
      The wheel's speed and its target when the piece was fed.
    • gapSec

      public final double gapSec
      Seconds since the piece before it in the same volley (NaN for a volley's first piece).
    • dropRpm

      public double dropRpm
      How far the speed fell below the target after the feed (RPM, 0 or more).
    • recoverySec

      public double recoverySec
      Seconds from the feed until the wheel was ready again (NaN while it is not, or if the next piece came first).