Package org.horizon36596.simloop.sim.live
package org.horizon36596.simloop.sim.live
-
ClassDescriptionRuns a scenario for as long as a
GamepadInputSourcehas input, and hands each tick's gamepads to the scenario body.Where a session's gamepad input comes from, one loop at a time: a person at a keyboard (KeyboardGamepadSource), a recorded track (GamepadInputTrack.replay()), or a test's script.A recorded driving session: what both gamepads read on every sim loop, one plain-text line per loop.Both gamepads on one loop.Writes a track one line at a time, flushing after every line, so a session that ends abruptly - the window closed, the process killed - still leaves every loop it ran on disk.Everything one FTC gamepad reports on one loop, as a plain value: which buttons are down and where every stick, trigger and touchpad finger is.A person at a keyboard, standing in for an FTC gamepad.One key's effect on the gamepad it is driving.Something that can report which keys are held down right now.Slows a sim run down to real time, so a person can drive it.How the pacer waits.Passes another source's frames through unchanged and writes each one to a track as it goes.