Skip to content

Commit

Permalink
use new named argument in snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Oct 18, 2024
1 parent f1c2130 commit be221c2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/snippets/all/archetypes/video_manual_frames.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,11 @@
# Create two entities, showing the same video frozen at different times.
rr.log(
"frame_1s",
rr.VideoFrameReference(
timestamp=rr.components.VideoTimestamp(seconds=1.0),
video_reference="video_asset",
),
rr.VideoFrameReference(seconds=1.0, video_reference="video_asset"),
)
rr.log(
"frame_2s",
rr.VideoFrameReference(
timestamp=rr.components.VideoTimestamp(seconds=2.0),
video_reference="video_asset",
),
rr.VideoFrameReference(seconds=2.0, video_reference="video_asset"),
)

# Send blueprint that shows two 2D views next to each other.
Expand Down

0 comments on commit be221c2

Please sign in to comment.