Skip to content
Work in progress. This library and its docs are new and still changing, and some parts are not yet tested on a real robot. If something is wrong or unclear,tell us with a short GitHub form.

Robot 1's changes

2026-11-14: library v0.41.0, ready to tune (on main now).

  • The Move Tuner is in Tune and check. Tunables.Drive has its four new lines (turnMinPower, turnToleranceDeg, moveTurnScale, moveMaxTurnPower), all DEFAULT until the tuner runs on the robot.
  • PRACTICE stays at 0.6. v0.41.0 drives PRACTICE at maxPower by default; robot 1 writes practiceMaxPower = 0.6, so it drives as before.
  • 11 more simulator tests in simulator/scenarios/ (the robot 1 road’s checks): the start spot, the drive, the button map, the intake, the camera, the tuning menu and more.
  • README fixed: auto 1 starts at heading 37.8 and fires at 3750 RPM; the right stick click is auto-aim.

2026-11-10: the camera, and one angle rule, library v0.40.0

  • The Logitech webcam is in the code (“Webcam 1”). Right stick click: auto-aim on/off (it turns on only with the HIVE in view). RB with the HIVE in view: a quick turn to it, then fire. Y held 1/2 s: the camera’s lighting test again. Until the camera is on the robot, leave “Webcam 1” out of the robot configuration: INIT then warns that it is missing. Everything else works as before.
  • Every angle in an autonomous now counts counterclockwise: 90 = left (library v0.40.0). A move’s 90 used to be right. We changed our three autos to match. They drive the same routes (the simulator checks each one). Straight moves are words now: forward(...), back(...). INIT names the moves at an angle, so you remember to check them.
  • Library v0.37.0 to v0.40.0: Controls.java lists the buttons (the launcher’s D-pad speed lines too). Also new: the Encoder Check, and the word steps forward, back, left, right, turnLeft, turnRight.

2026-11-07: a bump between shots, library v0.36.0 (on main now). These pages already follow it.

  • All three autos: fire 2, bump, fire the rest. The bump drives 2 in out slowly, then back to the wall at full power (the back starts on the wall). The fast move back rolls the last two POLLEN forward into the feeder.
  • Auto 1 (right corner) fires at 3750 RPM, an estimate: the simulator needs about 9% more speed there than on the side walls (2525 against 2325). The side walls fire at 3450 on the robot. Tune that speed from that spot.
  • Auto 3 (left wall) is tight on time: 15 s wait, fire, bump, fire, then the park. If the second fire is cut short, make the wait 13 s.
  • Library v0.36.0: the auto builder has an Auto sheet (PDF) button. It makes a page to show other teams our autos. The button is in the simulator, and on this site’s builder for the simple steps. The docs say ▶ for the Driver Hub’s start.

2026-11-06, late night: meet 1 buttons, library v0.35.0.

  • The Drive Tuner is done, at power 0.5: .wheelMm(108.9) in Robot.java, and strafeCorrection = 1.115 and calibrated = true in Tunables.Drive. The autonomous programs run now. A strafeCorrectionLeft line is ready in Tunables.Drive, behind //. Use it if the robot slips more when it strafes left: the Drive Tuner’s new Strafe left test gives the number.
  • The shot speed is 3450 RPM (Tunables.Launcher.speedRpm: the TeleOp and autos 2 and 3). Auto 1 keeps its own 2525. readyBandRpm = 100 (the library’s is 60): at 3450 the wheel stayed near 3429, so it seldom fired.
  • Left stick click: reverse drive on/off. The back is then the front; two buzzes = on. The click is no longer slow on/off. LT is still slow while held.
  • Field-centric: hold RT, then click the right stick. A click alone does nothing. Not vetted yet. The libraryButtons(...) method in Controls.java switches off the library’s field-centric and slow on/off buttons (lib.fieldCentric(null), lib.slowToggle(null)).
  • D-pad right/left: the feeder arm pushes further/less, 0.01 a press (Tunables.FeederArm.pushStep). Use it when a POLLEN stops short of the flywheel. The screen shows the number: copy it into Tunables.FeederArm.push.
  • SPRAY: tap RB, then press and hold it. It fires as fast as it can, with no wait for the speed. The last 5 s of TeleOp spray too (Tunables.Launcher.sprayEnabled = true).
  • Free buttons: A and Y.
  • R1 Right Wall: the first move is 42.8 in (“Off the wall”; it was 35.8). The robot came up short. Strafing left can slip more than strafing right (the Drive Tuner tests right only). After a Strafe left test, put 35.8 back.
  • Tests: a new test, r1-buttons.sim, checks the new buttons. The end box of r1-auto-right.sim is wider, for the longer first move. r1-auto-left.sim still fails its points check: at 3450 the shots miss in the simulator. The simulator’s launcher is an estimate (Step 7: The simulator and tests).

2026-11-06, night: last season’s buttons, library v0.34.0 (on main now). These pages already follow it.

  • LB: intake on/off; double-tap LB pushes out, and the feed wheel turns backward too (.feedWheelOutWith(intake) in Robot.java). B: flywheel on/off: off, RB still fires (it spins up, fires, and switches off again). RB: fire, as before. (Before this change: LB fired and RB ran the intake.)
  • Field-centric needs a double-click of the right stick: one click by accident does nothing.
  • Buzz at 1:00, 1:40 and 1:59 of TeleOp (buzzAtSecondsLeft() in Controls.java).
  • Tunables.Launcher.maxFiringQueue is in our Tunables.java (DEFAULT, 4 presses may wait). 0 = no queue: a press while a shot is on its way does nothing.
  • A quieter INIT screen: “Switch alliance : off” and the “no button” lines are gone. The starting numbers line names only the library’s guesses, in PRACTICE.

2026-11-06, later: Drive Tuner power and slowDownIn (on main now; library v0.33.0). These pages already follow it.

  • The Drive Tuner tests at the autos’ power: on its test list, D-pad right once sets 0.6, the power of robot 1’s .move(...) lines. Why: a faster robot slides further when it stops. So the Drive Tuner must measure the numbers at the power the autos drive at (Step 8: Tune the real robot).
  • Tunables.Drive.slowDownIn is in our Tunables.java, off (DEFAULT, 0). If the short moves (8 in off the left wall, 9.4 in off the right corner) stop past their end, set it to 6. Every move then slows down over its last 6 in.

2026-11-06, evening: launcher speeds and library v0.32.0 (on main now). These pages already follow it.

  • Autos 2 and 3 fire at the usual speed: they shoot from the usual spot, so they use fireAllAction() with no number. That means they fire at Tunables.Launcher.speedRpm, the TeleOp’s speed. Auto 1 (right corner) keeps its own 2525. One tuned number now sets the TeleOp and both side-wall programs.
  • The D-pad changes the speed by 50 RPM (Tunables.Launcher.stepRpm = 50), for finer tuning.
  • Library v0.32.0: the screens name the buttons on a PS controller (× ○ □ △, L1, R1…). ▶ is the Driver Hub’s start button. The Drive Tuner’s Drive test runs from Tune and check (it said STOPPED).
  • Not done yet: the team tunes the shot speed on the robot tonight. Until then the simulator test r1-auto-left.sim fails its points check: at 2525 the shots from the left wall go too far there.

2026-11-06: before Meet 1 (on main now; library v0.31.1). These pages already follow it.

  • The team’s tweaks (“Pre Meet 1 Tweaks”): the launcher motor is .reversed() (it turned the wrong way). The feeder_wheel is no longer reversed. The first measured numbers are in Tunables.java: IntakeDeploy stowed 0.64, deployed 0.5; FeederArm rest 0.5, push 0.4; FeederWheel stageSec 0.5.
  • The feeder is a squeeze feeder: the gray Gecko wheels on the CR servo squeeze each POLLEN against the half Gecko wheels on the arm. So FeederArm.rest sets the squeeze gap (Step 8: Tune the real robot). The arm, its pads and the feed wheels are drawn in the simulator now (places estimated from a photo).
  • The Servo Finder’s buttons changed (library v0.31.0): D-pad up/down moves the servo, D-pad left/right makes the step smaller or bigger (0.1 down to 0.001). Holding RB for finer steps is gone.
  • The simulator fires with our short push (0.5 to 0.4; before v0.31.0 it needed a push of 0.15).

2026-11-05: a feeder wheel and a feeder arm (on main now; library v0.30.0). These pages already follow it.

  • Two feed parts instead of one. The feeder_wheel (Gecko wheels on a goBILDA Speed servo set to spin; it was called feeder) brings each POLLEN onto the feeder_arm (a goBILDA Torque servo). The arm pushes the POLLEN up into the flywheel, then comes back. The wheel runs only while firing: first the wheel, then the arm (Step 4: The parts).
  • On the hub: rename feeder to feeder_wheel (still a Continuous Rotation Servo), and add feeder_arm as a Servo (Step 1: Set up your laptop).
  • Before the first TeleOp: use the Servo Finder for the arm’s rest and push (Tunables.FeederArm: INIT stops until you write them). The Servo Finder has new first-time steps, the same for every servo (Step 8: Tune the real robot). The feed timing: Step 8: Tune the real robot.
  • The Motor Direction Check is in Tune and check now (library v0.30.0): our own finders file is gone (Step 8: Tune the real robot).
  • R1 Left Wall parks after 8 s of firing (it was 10): the wheel and arm take a little longer a shot.
  • Tests: r1-feed-wheel.sim and r1-feed-wheel-always.sim check the feed timing (Step 7: The simulator and tests).
  • Another branch, two-arm-feeder: two arms, one on each side, that pinch each POLLEN into the flywheel (no wheel). We pushed it, but it is not on main.

2026-11-04: the launcher is the front now (the mentor’s decision). These pages already follow it.

  • Front = the launcher. Shots go up the ramp out of the front; the intake, its deploy servo and the spinners are at the back. Stick up drives launcher first. The line of fire is in front of the robot. In Robot.java every shape moved to the other end (x and y changed sign, arm angles became 180 - a). The IMU line says UsbFacingDirection.BACKWARD (the hub did not move).
  • A hub set up before this: swap the four drive names in Configure Robot (the wires stay in their ports): front_left to back_right, front_right to back_left, back_left to front_right, back_right to front_left. Then Tune and check > Motor Direction Check: each wheel rolls toward the launcher (Step 1: Set up your laptop).
  • The planned ramp is 75 degrees (it was 65; the built one is still 53), and Tunables.Launcher.speedRpm is 2525 (it was 2275). Why: from a side wall the HIVE’s up CELL is only about 40 in away. A 65 degree shot is still going up when it gets there, a 75 degree one comes down into it (Step 4: The parts).
  • Three autonomous programs: R1 Launch and Park is now R1 Right Corner: Launch, Park Right (autos/RightCornerLaunchAndPark.java; same start spot, now facing the HIVE with its front). Two new ones start from the side walls: R1 Right Wall: Launch, Park Right and R1 Left Wall: Wait, Launch, Park Left. All three fire first, from the start spot, then push the intake over while they drive away from the wall, and slide to the zone. Each ends beside the LOADING ZONE with only a corner over the zone’s corner: that is a PARK (rule 10.5.4), and the zone stays free. Each writes its own flywheel speed in fireAllAction(rpm) (2525 from the right corner, 2325 from the side walls; new in v0.28.0). Their numbers are in the steps (no Tunables.Auto any more), the way the auto builder writes Java. So the builder can open these autos (Step 6: The autos, start spots: Step 8: Tune the real robot).
  • Tests: the TeleOp tests pick up a POLLEN behind the robot, and two new tests check the new autonomous programs (Step 7: The simulator and tests).