Technical reference

All model documents · source: docs/models/rerun.md

Rerun bridge

dexvantage/core/bridges/rerun.py, the window command Export ▸ Stream to Rerun… (dexvantage/ui/rerun_stream.py), the batch flags --rerun OUT.rrd [--rerun-audit AUDIT.json], the check formats.rerun_rrd_readback (dexvantage/validation/checks_rerun.py). Spec §9.4.

The bridge sends the project's scene to Rerun, either saved as an .rrd file or streamed to a live viewer. A viewer is started only when the user chooses "Open the Rerun viewer". It needs the optional extra rerun, which pins rerun-sdk==0.42.0:

pip install "dexvantage[rerun]"

The package is imported lazily. Without it the command and the batch flag say how to install it, in one sentence. rerun-sdk is not bundled; its licence (MIT or Apache-2.0, per its package metadata) applies to the user's own install.

What is logged

Everything is in the world frame: the primary robot's base, REP-103, metres. The entity world carries ViewCoordinates.RIGHT_HAND_Z_UP.

Entity Archetype Content
world/robots/<robot>/<link> Transform3D the link frame in the world: at every trajectory sample on the timeline time, else once (static) at q
…/<link>/mesh Mesh3D the link's visual meshes in the link frame, with the model's colours per vertex
world/robots/<robot>/<link>/sensors/<sensor> or world/sensors/<sensor> Transform3D the sensor body's mount pose (under its link, so it rides with the arm)
…/<sensor>/<imager> Transform3D the imager's pose in the body
…/<imager>/image Pinhole image_from_camera = K, resolution, camera_xyz = RDF (OpenCV optical axes), image_plane_distance 0.15 m (a default)
…/<imager>/lens TextDocument the lens model, K and the distortion terms
…/<imager>/field LineStrips3D for a lens that is not a pinhole: the true image border unprojected through the lens to 0.15 m (Rerun's Pinhole has no distortion)
…/<sensor>/min_z and …/min_z/edges Mesh3D, LineStrips3D the part of the depth imager's field closer than its stated min-Z (depth_validity.blind_zone_local); only when the maker states a min-Z
world/task_volumes/<volume> Boxes3D each task volume
audit/verdict TextLog on the timeline episode "episode <id>: <verdict> (<failed flags>)", at level INFO for pass, WARN for fix or recalibrate, ERROR for drop
audit/pass, audit/flags/<flag> Scalars on episode 1 or 0; for each flag, the number of cameras failing that requirement in the episode

Notes on the table:

API, rerun-sdk 0.42.0. These calls were read from the installed wheel's source and https://rerun.io/docs/reference/types/archetypes/pinhole (version 0.42.0) on 2026-11-07:

The bridge uses a recording stream of its own rather than Rerun's global one, so several exports can run in one process. Files are read back with rerun.chunk.RrdReader (read_back).

Ported from Vantage core/viz_bridge.py, the Rerun part: the frames, the Pinhole with RDF axes, the lens as text, the true field outline beside the pinhole frustum, and the three modes save, spawn and connect. The articulated robot over a trajectory, the link-relative sensors, the min-Z zones and the audit flags are new.

Validation

formats.rerun_rrd_readback (cost "study", registered only when rerun-sdk is installed) writes the UR5e sample, its scripted pick and a two-episode audit result to an .rrd file, then reads it back with rerun's own reader. It requires:

The tolerance is 1e-4 px or m, because Rerun stores these components as float32: 2⁻²⁴ relative rounding at intrinsics up to about 1 400 px is up to 8.3 × 10⁻⁵ px. Measured 2026-11-07, rerun-sdk 0.42.0: 83 entities, none missing; 6 cameras; intrinsics 4.8 × 10⁻⁵ px; imager poses 7.7 × 10⁻¹⁰ m; link pose 1.3 × 10⁻⁸ m; audit flags on the timeline. Run time 0.6 s.

Measured sizes and times (--rerun, start-up excluded):

Sample Time File Content
UR5e 0.3 s 2.8 MB 21 links over 136 poses, 6 frusta, 2 min-Z zones
SO-100 0.01 s 0.76 MB static, 7 links, 2 frusta, no min-Z: its cameras have no device
dexhand 0.09 s 2.6 MB 30 links, 5 frusta, 1 min-Z zone

tests/test_rerun_bridge.py also logs through a fake rerun module, so the entity layout is tested without the package and without any viewer or network.

Known limits