Live Robot
The Live Robot tab watches a robot while it runs, and lets you run commands on it.
It shows the same field, subsystems and timeline as Simulate Robot. The robot code sends its data through the ftcrobotdesigner library's LiveTelemetryServer.

Connect to a robot
- Pick what to connect to in the Robot list.
- Click Start. Stop disconnects.
| Choice | What it connects to |
|---|---|
| Real Robot | The Control Hub, over its Wi-Fi Direct network, on port 8090 |
| A robot design's name | The desktop simulator on this computer, using that design's subsystems and Enabled settings |
A real robot
- Join your laptop to the Control Hub's Wi-Fi network.
- On the Driver Station, start an OpMode that turns the live connection on (one marked
LiveTelemetry.ONin the robot code, such as a practice TeleOp). It turns on at Init. - Click Start in Robot Designer.
The connection stays on through later OpModes, autons included, until one marked LiveTelemetry.OFF (a competition TeleOp) starts. To watch an auton, run a practice TeleOp first.
The desktop simulator
The simulator runs your robot's own TeleOp code through the robot project's RobotSimulation. Drive it with a controller plugged into the computer, or with the keyboard when none is plugged in (below). It needs no robot or network, but it needs the same JDK and Gradle as Simulate Robot. See "The desktop simulator" in the library's docs/simulation.md.
Its sensors don't change: each holds one reading for the whole run, as on Simulate Robot.
The robot it simulates is the design picked in Robot, whichever design the Design tab has active: the robot drawn on the field, its cameras on the Camera tab and on the field, and its servos' angles are all that design's. For Real Robot they are the active design's.
Choose the alliance
The Blue and Red buttons beside the Robot list choose the alliance. The chosen one is filled in its colour.
- The field turns so that alliance's drive team is at the bottom of the screen, as you see it from where they stand. Where each team stands is
"drive_teams"in<TeamCode>/field_designs/field.json(the library'sdocs/field.md), which Set up field… writes for you: press it on a field with no picture, or choose File > Set Up Field…. A side chosen there applies the next time Robot Designer starts. Without it, the field isn't turned. - The desktop simulator plays that alliance, from its start. Click Start again after changing it.
- A real robot plays the alliance its OpMode says. For one, the buttons only turn the field and choose its start marker.
- It is the same choice as Start Position on the other tabs. The left or right side is kept.
How the simulated drive moves
Beside the Robot list, a line says what the picked design's simulated drive is built from:
- Drive: calibrated: as the robot's recordings say, from
robot_designs/calibrations.json. - Drive: datasheet, design's strafe: not calibrated. It is built from the motors' datasheet with assumed drivetrain losses, and strafes at the strafe efficiency the design states.
- Drive: datasheet, assumed losses: not calibrated, and the strafe efficiency is assumed too.
An uncalibrated drive is an estimate: it can drive faster or slower than the real robot. Calibrate it from recordings (python -m calibration) to simulate the real robot. The assumed losses are listed under "A drive nobody has calibrated" in the library's docs/simulation.md.
Drive with the keyboard
With no controller plugged in, the keyboard is gamepad 1 while this tab shows and is connected to the simulator. The line under the read-outs says which keys drive. The usual keys:
| Keys | Gamepad |
|---|---|
| W A S D | Left stick |
| I J K L | Right stick |
| Shift | Right trigger (turbo) |
| Z | Left trigger |
| Space, C, R, F | A, B, X, Y |
| Q, E | Left and right bumper |
| Arrow keys | D-pad |
| Backspace, Enter | BACK, START |
Change them on the Controls tab. While you type in a box, the keys are the box's. Leaving the tab, or switching to another window, lets every key go. The real robot never takes the keyboard.
Watch the run
The field draws the robot where it reports it is. Everything received stays on the timeline.
With library 0.21.10 or later on the robot, each command the robot runs is drawn on the timeline too, as it runs: each step of what a gamepad button runs, each step of the autonomous routine, and each script a camera zone starts. Point at a bar to see what started it, such as gamepad1 BACK press. One cut short, cancelled or taken over, says so. Driving from the sticks isn't shown.
- Drag the playhead back to look at an earlier moment. This pauses Following Live.
- Click Following Live to jump back to now.
- Click a bare spot on the field to see its position, such as "X 1.000 m, Y 0.750 m".
- The simulated robot's gamepad shows under the read-outs.
A servo's position in degrees

A servo's position runs from 0 to 1, with 0.5 at the centre of its travel. Once the servo has a Range on the robot design (the Design tab's Servo group), each of its positions shows as its angle from the centre with the position after it, such as +45.0° (0.7500): position = 0.5 + angle ÷ range, and positive is the way the position rises. Its commanded position is then typed in degrees: double-click its Intended cell, type an angle, and the robot is sent the position that angle is; the cell keeps showing the angle.
To find a mechanism's angles, such as a gate's open and closed angles, turn the servo there from here and read the angle off the tree. These are the angles the robot's code turns into positions, so they can be typed straight into the subsystem's settings. Simulate Robot and Recordings show the angles too.
Tune a control loop live

The gains of a loop the robot code marks for editing are editable Intended cells on the Subsystems tab: a mechanism's speed loop (a @PIDControlledMotor's P, I, D and F) and the drive's path-following loops (xController, yController and headingController, each with P, I, D and I-zone). Type a gain and the running robot uses it at once; the cell says whether it was applied or refused, and why. Watch the result on the Motors tab, or follow a path and read the Tracking report of its recording.
The robot can also tune itself:
- Adaptive tuning: tick the drive's
autoTuningvalue. While path following is on, it watches each loop's error, diagnoses oscillation, overshoot, slowness or a lasting offset, and adjusts P, I and D in steps that shrink as the loop improves, until it settles. Unticking it keeps the gains it found. A motor the code holds at a speed has anautoTuningvalue of its own for its speed loop. - Relay test: for an axis with no gains yet, bind
DriveRelayTestX,DriveRelayTestYorDriveRelayTestHeadingon the Controls tab, best in a tuning TeleOp of its own. The robot oscillates on purpose on that axis, so give it a clear floor;DriveApplyRecommendedGainsthen applies the gains it found,DriveStopRelayTestsstops it andDriveRestoreBaselineGainsputs the gains back as they were when tuning started.
Apply Calibrations…, beside Save Log…, saves what has been captured and calibrates the drive from it on the Drive Train page's Tuning tab (Calibrate the drive from a test drive). It turns on once the capture can calibrate the drive; until then its tooltip says why not.
Gains typed or tuned here last until the OpMode ends. To keep them, use Fill from: Robot on the Drive Train page's Tuning tab for the drive (Design), or put a mechanism's gain under On Init on the Design tab, then Sync. The library's pid_tuning.md explains the tuners.
Set where the robot is
The amber start marker is the robot's start. The robot doesn't report its alliance, so the marker used is the chosen alliance's. The other alliance's marker is drawn fainter.
- Drag the marker, turn it by its knob, or click it to type exact values.
- While connected, Robot Designer then runs
SetInitialPoseCommandwith that pose. The status bar says where the robot now is. - This works only while a TeleOp OpMode is running.
- On connecting, the start is sent only to a robot that doesn't know where it is. A pose kept from auton or found from AprilTags stays.
- While not connected, the marker is where the desktop simulator starts the robot.
- A start inside a forbidden area for both alliances, or past the field's edge, is noted beside the field.
These are the same starts as on Simulate Robot. Only a start changed on this tab is sent to the robot.
Run a command or script

Use the Run row to try a command or reusable script on the connected robot.
- Type in the box to find it. Every word you type must match, in any order. Scripts end in "(script)".
- For a command with parameters, click f(x) and set them. Reset to Defaults restores the template's values. Hover f(x) to see what will be sent. A parameter left on Use default isn't sent, so the robot uses its Defaults value.
- Click Run or press Enter.
- Click Stop run to end it.
The line under the row says what happened: running, finished, stopped, or refused and why. Hover it to read a long message. With library 0.21.7 or later on the robot, it says more:
- While a script runs, the step it is on, such as "On shootMode › WaitUntil: flywheel.flywheelMotor1.speed == flywheel.flywheelMotor1.targetSpeed ± 60".
- Once it ends, what ended it and the step it was on. "Interrupted on the robot by StopperToggleCommand" means a gamepad button's command needed a subsystem the run was using, and took it over.
- A condition that can't read its value, such as a
ReportedValuepath the robot doesn't report, in red. The Driver Station shows it too, on its Condition line.
Each step is also drawn on the timeline as it runs. A step still going stretches to now, so a WaitUntil that never passes is a long bar. A takeover and a condition problem are marked where they happened. Point at a bar to read it. They are saved with the log, and with library 0.21.8 or later the robot's own recording of the session holds them too.
- A command marked as running until stopped keeps going until you click Stop run.
- A command can refuse at once, such as DriveToFieldPositionCommand when the robot doesn't know where it is. The line shows the reason in red. For a script, it names the first command that refused; the rest still ran.
- A new run replaces the one before. A refused run leaves the old one going.
- Disconnecting stops the run.
- The robot takes runs only while a TeleOp OpMode is running, or in the desktop simulator. It refuses them in Init and in autonomous.
Sync a script before running it on the real robot, which runs its own copy from the Control Hub. The desktop simulator reads autons/Scripts directly, so it needs no Sync.
Simulated shots
On the desktop simulator, balls the robot shoots are flown from the shot table (see Export shot table in Design) and drawn on the field: each ball in the air, the path it flew, fading once it comes to rest, and where it ended, a green check in a target or a red cross where a miss reached the floor. The marks stay until the run starts again; right-click the field and choose Clear Shots to hide those fired so far. A robot with a shooter but no shot table is told to export one, on the field. The same shots show on Simulate Robot and when a recording is replayed. The shooter assembly's Simulator: time between balls and Simulator: replace each element fired set how the simulated robot feeds and replaces them.
The shooter itself is drawn at the robot's launch point, turned as the turret and hood report. A part whose angle can't be read, such as one a motor turns, is drawn where the library's shooter aim wanted it, and its angle beside the shooter reads (aimed), such as turret 12° (aimed).
Save and replay a run
- Save Log… writes everything captured to a compressed recording (
.jsonl.gz), the same kind the robot writes, in the robot project'sTeamCode/recordings/folder unless you choose another. The Recordings tab lists and replays what is there. - Replay… loads a saved file back into this tab, where you can scrub through it.
Check loop timing

The Timings tab, after Camera, shows how long each control loop took. A robot that misbehaves now and then may be waiting on a slow loop.
- Each column is one loop, split into its parts in the order they ran.
- The top of a column is the loop's period. A dashed line marks the median.
- When there are more loops than pixels, each pixel shows its slowest loop.
- The table gives each part's mean, 95th percentile and maximum.
| Part | What it covers |
|---|---|
| Scheduler | Every subsystem's periodic() and every running command |
| Forbidden areas | Keeping the robot out of forbidden areas |
| AprilTag pose correction | Correcting the robot's position from AprilTags |
| Camera zone actions | Running the scripts camera zones start |
| Battery read, Sending to Robot Designer | Only while Robot Designer is connected |
| Robot Designer edits and runs | Edits and Run requests from Robot Designer |
| Recording a sample | Building a recording's sample and handing it to the thread that writes the file |
| Driver Station telemetry | Sending the telemetry at the end of the loop |
| Other | Everything else, such as the OpMode's own work and the FTC SDK |
The window and Pause are shared with the Motors tab. A log saved with Save Log… keeps the timing. A simulated run steps a fixed time per loop, so it has no timing to show.