Package com.crossbotics.ftchelper.testkit


package com.crossbotics.ftchelper.testkit
  • Classes
    Class
    Description
    A pretend clock for JUnit tests: the time only moves when your test says so.
    A pretend continuous-rotation (CR) servo for JUnit tests: it remembers the power it was sent.
    A pretend robot configuration for JUnit tests on a laptop: give it to your Robot instead of the hardwareMap, and every motor, servo and switch it asks for is made on the spot.
    A pretend motor for JUnit tests on a laptop (no robot): it remembers the power it was sent, and its encoder is a number your test sets.
    A pretend goBILDA Pinpoint (odometry computer) for JUnit tests: it says the robot is where your test puts it.
    A pretend servo for JUnit tests: it remembers the position it was sent (NaN = none yet, like a real servo before its first command).
    A pretend Driver Station screen for JUnit tests: it keeps the last screen sent, one line per entry ("Lift : high 900 ticks", "!! warning").