Skip to main content
wuji viz shows live WUJI Hand 2 and WUJI Glove data in your browser. The visualization runs in the Rerun Web Viewer, a web page that wuji viz serves locally and opens in your browser, with no extra software to install. Each session connects to one device and adapts the Viewer to it:
  • A WUJI Hand 2 shows a 3D hand model that follows the joint states.
  • A WUJI Glove shows the hand skeleton, the EMF receivers, the tactile point cloud, and the raw tactile matrix.
The command also supports structured output and sharing the Viewer on a trusted network. It doesn’t record an RRD file and doesn’t replay recordings.

Start the Viewer

Connect the device and run:
Without an explicit --sn or --address, the command scans for WUJI Hand 2 and WUJI Glove devices and applies the device filters. If one device matches, it connects directly. If multiple devices match, an interactive terminal offers a device menu showing serial numbers and device types. Non-interactive mode returns an error. Pressing Esc or Ctrl+C in the menu returns exit code 130 (interrupted) without connecting to another device. A connection failure doesn’t fall back to another device either. Use --sn to target a specific device:
Use --sn or --address to select a device, or --handedness to filter devices. The command prints the Viewer URL and opens it in the default browser. Add --no-open to print the URL without opening a browser. Press Ctrl+C to stop the Viewer and release the device connection. Each session supports one active Viewer page. Close the page before opening the URL again, in another browser, or on another device. When two pages stay connected, a page that falls behind or moves to the background eventually stops updates on both.

Read the Viewer

The Blueprint panel on the left lists the views. Select the eye icon next to a view to hide or show it. The layout depends on the connected device.

WUJI Hand 2

The 3D hand model follows the live joint states.

WUJI Glove

The Viewer shows the hand skeleton, the EMF receivers, the tactile point cloud, and the raw tactile matrix. At startup, the command requests 60 Hz on the emf_poses, tactile, tactile_zones, and palm IMU streams and prints the rate each stream applies. Firmware without rate control keeps its default stream rates, and the command prints a warning. In both cases the Viewer renders from the latest received state at up to 60 Hz. The image below shows the Viewer layout with a WUJI Glove connected. The 3D hand skeleton and the EMF receivers sit on the left, and the raw tactile matrix on the right: WUJI Glove Viewer layout

Handle Faults

The Viewer uses the latest received state. Detailed warnings and errors go to the terminal, and the Viewer page doesn’t show a health marker.
  • On WUJI Hand 2, a joint-stream fault keeps the last valid hand pose.
  • On WUJI Glove, an invalid frame in one stream keeps that stream’s last valid view while the other streams continue.
  • After a device disconnect, the Viewer keeps the last state, and the command doesn’t reconnect. Press Ctrl+C to stop, and the command exits with a failure.

Use Structured Output

With --json or --jsonl, the command writes one startup report to stdout once the Viewer is ready, then keeps running. The report contains status: "running", the device serial number and handedness, the Viewer URL, and whether LAN access is on. Live data goes only to Rerun. Progress, warnings, and startup or runtime errors after the command starts go to stderr. Only parameter parsing and option-admission errors before execution go to stdout in the error format. Ctrl+C doesn’t add a second record.
Use the viewer.url value as printed. Its query parameters connect the Viewer page to the data stream, and a trimmed URL opens an empty Viewer. Structured or unattended sessions never open the device menu. Use --sn or --address to select a device, or filters to narrow the matches to one device. Multiple matches return an error. Canceling the interactive device menu returns exit code 130 (interrupted). Startup errors after the command starts go to stderr, leaving stdout for the startup report.

Share on a Trusted Network

The Viewer binds to loopback by default. Use --lan to select a private address on the default route, or use --bind to select a local address:
--lan and --bind can’t be used together. Non-loopback access has no authentication or TLS. Use it only on a trusted network, and share the printed URL only with intended viewers. The one-active-page rule still applies: a shared URL must be open in one page at a time. See Exit Codes for exit code conventions.