tsl/tools/rerun
Hoang Bui c2fbe69e9f rerun: adapt to the change in release of 0.18 (#33359)
old-commit-hash: 63992fd164a669ebc7bb71b64e0d2531e712c8a0
2024-08-22 14:01:43 -07:00
..
README.md tools/rerun: Rerun 0.18 (#33188) 2024-08-08 14:30:14 -07:00
camera_reader.py tools/rerun: Rerun 0.18 (#33188) 2024-08-08 14:30:14 -07:00
run.py rerun: adapt to the change in release of 0.18 (#33359) 2024-08-22 14:01:43 -07:00
run.sh fix bash + python3 shebangs (#33287) 2024-08-13 21:22:13 -07:00

README.md

Rerun

Rerun is a tool to quickly visualize time series data. It supports all openpilot logs , both the logMessages and video logs.

Instructions for navigation within the Rerun Viewer.

Usage

usage: run.py [-h] [--demo] [--qcam] [--fcam] [--ecam] [--dcam] [route_or_segment_name]

A helper to run rerun on openpilot routes

positional arguments:
  route_or_segment_name
                        The route or segment name to plot (default: None)

options:
  -h, --help            show this help message and exit
  --demo                Use the demo route instead of providing one (default: False)
  --qcam                Show low-res road camera (default: False)
  --fcam                Show driving camera (default: False)
  --ecam                Show wide camera (default: False)
  --dcam                Show driver monitoring camera (default: False)

Examples using route name to observe accelerometer and qcamera:

./run.sh --qcam "a2a0ccea32023010/2023-07-27--13-01-19"

Examples using segment range (more on SegmentRange):

./run.sh --qcam "a2a0ccea32023010/2023-07-27--13-01-19/2:4"

Cautions:

  • Showing hevc videos (--fcam, --ecam, and --dcam) are expensive, and it's recommended to use --qcam for optimized performance. If possible, limiting your route to a few segments using SegmentRange will speed up logging and reduce memory usage

Demo

./run.sh --qcam --demo