Skip to main content
When a device won’t connect or its data looks wrong, run 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
On Linux, 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
For the tactile check, place the glove statically. Don’t wear or press it, or the check may report false positives.

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 0 when no checks fail and 1 when a check fails. Warnings alone don’t count as failures. Cancelling a confirmation returns 0, canceling device selection returns exit code 130 (interrupted), and a check that finds no applicable device returns 4. See Exit Codes for other exit codes
  • Checks without a target: Duplicate device IP and Host subnet run 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 & diagnose instead 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:
All check results are in the top-level checks array. Environment checks appear as array nodes. Device discovery and per-device checks contain subtrees in children.
Scripts that read check results from the env or device arrays must now traverse checks and its children. device is now a string, not a check-result array.
The following excerpt shows the fields related to check results:
The doctor_diagnosis.json file in a wuji logs export support bundle uses the same structure and contains the diagnosis generated during export.