wuji doctor first. It checks the host environment, then scans for devices and samples real-time data (about 100 frames, done in seconds), printing a tree-shaped report that helps narrow down the fault.
What It Checks
Checks run in three layers: host environment, device discovery, and per device. Environment- Software versions: CLI and WUJI SDK versions, and whether updates are available
- System info: whether the operating system and its version are supported
- Network interfaces: the online interfaces and their addresses, flagging routing risks when several are present
wuji doctor prompts migration to WUJI CLI when WUJI Studio is installed. Otherwise, it hides this check.
Generic
Produced whenever a scan runs, even when no device turns up: how many devices were found, whether any device IPs collide, and whether the devices share a subnet with the host.
Per device
- wuji_glove
- EMF disconnection check: locates the affected finger and distinguishes RX (receiver) from TX (transmitter) faults
- Tactile sensor dead-pixel, bad-row, and bad-column check
Usage
Read the Report
- Status marks: ✔ pass, ! warn (advisory anomaly), ✘ fail (confirmed fault), and ~ skip (the check didn’t apply or couldn’t run)
Tip:lines are fix suggestions- Exit code: Default diagnosis returns
0when no checks fail and1when a check fails. Warnings alone don’t count as failures. Cancelling a confirmation returns0, canceling device selection returns exit code130(interrupted), and a check that finds no applicable device returns4. See Exit Codes for other exit codes - Checks without a target:
Duplicate device IPandHost subnetrun only when discovery finds a UDP device. If every device uses USB or Zenoh, both checks show~ not attempted: no UDP devices. A device without a diagnostic recipe also shows~ connect & diagnoseinstead of a fault. These skipped checks don’t make the exit code 1. Connection and data-collection failures still show ✘ and return 1 - Tactile check results are advisory (capped at warn) — verify with the raw tactile matrix shown by
wuji viz
Expand All Checks
By default only anomalies show. Use-v to expand every check, including passing ones, to see exactly what was checked. Only the device section appears below — real output still prints the Environment and Generic sections ahead of the devices:
Structured Output
--json prints formatted JSON, and --jsonl prints compact JSON on one line for saving and scripting:
checks array. Environment checks appear as array nodes. Device discovery and per-device checks contain subtrees in children.
The following excerpt shows the fields related to check results:
doctor_diagnosis.json file in a wuji logs export support bundle uses the same structure and contains the diagnosis generated during export.