You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/tutorials/visualization.rst
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,32 @@ The following example shows how to visualize the first episode (index 0) of the
11
11
12
12
This command will open a `rerun <https://rerun.io>`_ window displaying the selected episode, allowing you to explore the episode interactively.
13
13
14
+
Camera Logging Mode
15
+
-------------------
16
+
17
+
For datasets that include camera streams stored as MP4 files, ``opentau-dataset-viz`` supports different camera logging modes:
18
+
19
+
- ``frames``: logs decoded frames with ``rr.Image``.
20
+
- ``asset_video``: logs source MP4 files with ``rr.AssetVideo`` and synchronizes playback using ``rr.VideoFrameReference``.
21
+
- ``auto`` (default): same behavior as ``asset_video`` with graceful fallback to ``frames`` when MP4 assets or required Rerun APIs are unavailable.
22
+
23
+
If your episodes contain one or more videos and the generated ``.rrd`` files are large, prefer ``asset_video`` (or ``auto``) to take advantage of video compression.
24
+
25
+
.. code-block:: bash
26
+
27
+
# Prefer MP4 assets (smaller .rrd when videos are available)
Visualize data of a given episode of a LeRobotDataset with rerun.
@@ -188,6 +206,10 @@ def visualize_dataset(
188
206
output_dir: Directory to save the .rrd file if `save` is True. Required if `save` is True. Defaults to None.
189
207
urdf: Path to a URDF file to load and visualize alongside the dataset. Defaults to None.
190
208
joint_names: List of joint names for each state dimension, in order. Used for associating state dimensions with URDF joints. If not provided, state names from dataset metadata will be used. Defaults to None.
0 commit comments