⚠ Under heavy construction

As of July 11, 2026, Sorter V2 is not yet in a position to be built.

The documentation that exists is incomplete. Any given page may be accurate, inaccurate, present only as an example, or badly out of date. We do not yet recommend that anyone attempt to build Sorter.

For the most live updates on our progress, join our Discord.

SorterOS — Operate

Diagnostics

Reference

The four diagnostic pages under Settings. Performance and Cycle time show how fast the machine is working and where each piece's time goes. The Jitter test and the Power stress test move motors on purpose.

Author JensR80

AI-generated first draft. Written from SorterOS's own source, not from a running machine. It has no screenshots yet, and the wording on the pages may have drifted since it was written.

All four pages are in the Helpers group of the Settings side menu, next to Incidents. On a phone the same pages are in the Settings page list at the top.

  • Performance and Cycle time only read. Opening them changes nothing and moves nothing.
  • Jitter test and Power stress test move motors. Read the warnings in their sections before you press anything.

Performance

Settings, then Performance. It answers "how fast is this machine thinking, and how old is the camera data behind each decision?" Use it to compare two machines, or to spot a machine that has got slower than it was.

The header says which machine you are looking at, its state, and how long the current run has been going. The page refreshes itself every few seconds. A tile shows – until the machine has reported that number.

Time range

The Time range control has Live, 1 min, 5 min, 15 min and 60 min. It starts on 5 min.

It changes only the small line charts. The numbers in the tiles always cover the whole current run: rates are the run's total count divided by how long it has been running, and times are medians. The machine keeps about the last hour of chart history in memory.

The tiles

Each number is colored green, amber or red. The limits below are the ones the page uses.

  • Decisions a second: how often the classification step runs. Green at 60 Hz or more, amber at 30 Hz or more.
  • Decision data age: how old the camera data is when a decision is made. Green at 150 ms or less, amber at 300 ms or less.
  • Control loop rate: how often the main control loop runs. The tile says Target 100. Green at 80 Hz or more, amber at 50 Hz or more.
  • GIL stall: how long the control loop waits on other work in the same program. Green at 5 ms or less, amber at 15 ms or less.
  • Perception has one row per camera that runs the detector, with Rate (detections a second), Infer (time for one detection), Cycle and Frame age. Rate is green at 15 Hz or more and amber at 8 Hz or more. Infer is green at 40 ms or less and amber at 80 ms or less. Frame age is green at 80 ms or less and amber at 160 ms or less. Cycle has no color. If no camera has reported yet the panel says No inference cameras are reporting yet.
  • Subsystem step cost is the time each control tick spends in Distribution, Classification and Feeder (green at 2 ms or less, amber at 6 ms or less), and in Controller step (green at 4 ms or less, amber at 10 ms or less).
  • Throughput has Pieces a minute (5 min), Pieces a minute (average), Pieces seen and Distributed. These have no colors.

Red or amber on the data age, the control loop rate or the camera rows means the machine is deciding on stale information or running behind. The page does not say why.

Compare to a past run

Compare to a past run puts the current session beside a finished run. Pick one from Past run (each is listed by its start time and piece count). A table then shows the same metrics for both. None clears it. With no finished runs the panel says No saved runs yet.

Screenshot of the Performance page with the 5 min time range, showing the Decision loop tiles and one camera row.

Cycle time

Settings, then Cycle time. It shows where each piece's seconds go on the classification channel (C4). One cycle runs from the moment C4 asks the feeder for a piece to the moment it asks for the next. Use it to see whether pieces are slow because C4 itself is slow, or because it is waiting for the feeder to bring one.

Choose the Time span: 10 min, 1 hour (the default) or Today. The page refreshes every 10 seconds.

Cycles in which the machine was stopped (an incident held it, or the control loop did not run for a while) are left out of every figure and counted apart. The first tile says how many. A pause drops the cycle in progress, so a stop never shows up as a slow piece.

The four tiles

  • Pieces a minute: pieces divided by the total time they took. Under it, the number of pieces and how many cycles were left out for stops. When the machine spent time waiting with nothing on C2 or C3, a second figure appears, while the hopper kept up: the rate it would have had without those waits.
  • Per piece, on average: the whole cycle, wait plus C4's work. The median is underneath.
  • C4's own work: from landing until C4 asks for the next piece.
  • Waiting for the feeder: from C4's ask until the next piece lands. Underneath, the median and the share of all waiting time that came from waits longer than 4 seconds.

C4's own work

One row per phase, with the Median, the Average and the Slowest 10%:

  • Landing confirmed
  • Photos
  • Waiting for the piece ahead (classified, chute aimed)
  • Turn (eject the piece ahead, stage this one)
  • All of C4's own work

Waiting for the feeder

Each wait is sorted by where C3's next piece was at the moment C4 asked. The table shows how many asks fell in each case and their share, the median and average wait, the total seconds, and C3 moving and Chute moving: the share of the wait that C3, or the chute, was turning.

  • C3's next piece within 20° of its edge: about to drop.
  • 20° to 80° from the edge
  • More than 80° from the edge: a piece still in C3's landing area is most of a lap away.
  • Only out of view on C3: there is a piece on C3, but the camera cannot see it.
  • None on C3, some on C2
  • None on C3 or C2: the hopper or C1: nothing is coming. Feed the machine.

Longest waits

The 40 longest waits over 4 seconds in the span, longest first: when C4 asked, how long it waited, where C3's next piece was, how many pieces were on C3 and on C2, and C3 moving and Chute moving as shares of that wait. If there are none it says No waits over 4 s.

Pieces C2 or C3 could not move

Lists pieces that a channel turned under and that stayed put, so the channel next to it was turned. After three turns the feeder gives up and sorts around the piece. Each row shows when, Where (C2 or C3, landing area or exit), Held for, Turns, and How it ended: Moved again, Left the channel or Sorting stopped first, with ", after the feeder gave up on it" where that happened. With none the panel says None.

Screenshot of the Cycle time page on the 1 hour span, showing the four tiles and the C4's own work table.

Jitter test

Settings, then Jitter test. It gives one motor a short, sharp back-and-forth that breaks static friction, enough to nudge a stuck piece off a C channel without a violent shake. It ends where it started.

This moves a motor as soon as you press Jitter. Keep your hands and tools clear of the channel or chute you pick. Pressing a preset only fills in the settings and moves nothing.

The page does not check whether the sorter is running or paused. The backend refuses only while the hardware is homing or a power stress test is running, and while that motor is already moving or still jittering. If the hardware has not been started it answers that the hardware is not initialized.

Run a jitter

  1. Under Motor, choose the motor: C-channel 1, C-channel 2, C-channel 3, C-channel 4, Classification C-channel (C4) or Chute.
  2. Optional: press a preset under Presets. The selected preset is highlighted when the settings match it.
  3. Check or edit the settings.
  4. Press Jitter. A message confirms what is running: it starts with Jittering and the motor, then gives the number of cycles, the stroke in motor degrees, and an estimated duration in seconds. If the backend refuses, an error message says why.

Stop sends a stop command to the selected motor. The backend runs a jitter to completion once it has started, so keep the cycle count small rather than relying on Stop. Back to the defaults puts the four settings back to their defaults and keeps the motor you chose. The page remembers its settings in this browser.

The settings

  • Amplitude: how far each stroke goes, in degrees at the motor (default 6). The help text shows what that is at the rotor, because the gearing divides it: about 10.8 to 1 for the C channels and the classification channel, 4.8 to 1 for the chute. The backend refuses an amplitude so small it rounds to zero microsteps.
  • Cycles: back-and-forths (default 12). The backend accepts 1 to 5000.
  • Speed: in µsteps/s (default 5000).
  • Acceleration: in µsteps/s² (default 100000). Higher is a sharper jerk on each stroke.

Presets

Each preset sets all four numbers: the amplitude is the travel, the cycles are the length, and the speed and acceleration are the strength. The page lists them with their numbers. Heavy stuck is the reference (6° amplitude, 12 cycles, 5000 µsteps/s, 100000 acceleration) and the others vary around it:

  • Shorter, same force: Quick stuck, Brief stuck.
  • Sharper and shorter: Sharp & short, Hard snap.
  • Softer and longer: Soft & long, Gentle marathon.
  • More travel: Big travel, Big & brief, Big & hard, Max shake, Wide & soft.
  • Long and strong: Fast buzz, Strong & long.
Screenshot of the Jitter test page with the Motor field, the preset grid and the Settings panel.

Power stress test

Settings, then Power stress test. It runs the heaviest load the machine can make, so you can measure its draw at the wall (for example with a power meter on the supply). For what one run measured, see A partial power stress run on Kitbash.

This moves everything at once, for as long as you set (10 minutes unless you change it). Before you start, check that nothing is in the way of the chute, the channels or the servo arms.

Before you start

The test refuses to start unless both of these are true:

  1. The hardware is homed and ready. The hardware badge in the top bar must read Ready. If it does not, open the three-dot System menu in the top bar and choose Home (it says Re-home once the machine is ready). Wait for the badge to change to Ready. If you start the test earlier the page shows Cannot run power stress test while hardware is followed by the state, and says to run Safe Home first.
  2. The sorter is paused. Press Pause in the top bar, so the button changes to Resume. Otherwise the page shows Pause the sorter before starting power stress, and tells you what state the sorter is in.

The test also needs the chute and the four channel steppers present, and the detection models running on every configured channel. If one is missing the page shows the reason, for example Perception models are not running on every configured channel or Required steppers unavailable.

What it does

The chute homes itself first and then stays at or below the Chute limit. The lights go to 100% and are put back afterwards. C1 to C4 ramp their moves, and the servos use their whole 0° to 180°. Three phases follow in order, shown under Sequence:

  • 1. Steady: the four channel steppers run without stopping, the chute sweeps from home to its limit, and the servos sweep end to end. Takes a third of the moving time.
  • 2. Random: the steppers brake and burst either way, and the chute and the servos go to random targets. Takes a third of the moving time.
  • 3. Mixed: short stretches mix steady and bursting steppers while the chute and the servos alternate. Takes the rest.

While it runs, manual motion on other pages (a pulse, a jitter) is refused with a message that power stress is active, and a separate chute stress test cannot be started.

The settings

The fields are locked while a test is running.

  • Moving time: in minutes (default 10). The backend accepts 10 seconds to 60 minutes.
  • C1 to C4 top speed: in µsteps/s (default 6000). Between 17 and 20000.
  • Chute speed: in µsteps/s (default 3000). Between 17 and 10000.
  • Chute limit: in degrees (default 345). Between 5 and 345.

Run it and read the result

  1. Press Start the power stress test.
  2. Watch This run. It shows a status badge, the phase and part, the time done out of the time set, a progress bar, and four counts of what the test found: Steppers, Servos, Light outputs and Vision workers. A table lists what happened and when, newest first, in your local time.
  3. To end it early press Stop safely. The status goes to stopping, the motors brake, the chute and servos stop, and the lights and stepper limits are put back.

Each phase's start is stored as an epoch time. To line the machine's phases up against a power meter's readings, press Download the JSON (or JSON beside a run under Past runs) and use the times in it.

A run ends as completed, stopped, or failed. A failed run shows its reason. One cause is a motor stall: if stall detection is on and any of the four channel steppers stalls, the run fails with Stepper stall detected and the motor's name (see StallGuard).

Past runs lists the last 20 with their start, status and duration, each with a JSON download.

Screenshot of the Power stress test page mid-run, showing the Sequence panel, the Settings panel, and This run with its progress bar.