PlotJuggler is the primary log visualization tool for openpilot development. It is a fast, interactive time series plotter, and the openpilot repository ships custom plugins that parse openpilot’s log formats so you can load any route or segment and immediately start plotting signals like lateral error, steering torque, speed, and hundreds of other fields. The helper scriptDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/commaai/openpilot/llms.txt
Use this file to discover all available pages before exploring further.
tools/plotjuggler/juggle.py handles installation, plugin setup, and launching PlotJuggler with the right arguments.
Installation
Once you have set up the openpilot environment, run the install command to download PlotJuggler and the openpilot plugins:Launching with a route
Pass a route name, a segment, or a segment range directly tojuggle.py. Cabana share URLs are also accepted.
Full options reference
Layouts
PlotJuggler layouts save a pre-configured arrangement of plots so you can jump straight into a specific analysis view. Pass a layout file with--layout.
Tuning layout
The tuning layout provides a pre-built view for evaluating lateral and longitudinal controller performance. Use it when working on PID tuning or generating plots for a tuning pull request.If you create a layout that is useful for other developers, consider submitting it upstream to
tools/plotjuggler/layouts/.Streaming live data
You can stream live openpilot log data from a comma device or from a local replay session into PlotJuggler.Streaming from a comma device
Streaming from a local replay
If you have a replay running on your PC, stream directly from it without ZMQ:Parsing CAN data
To plot decoded CAN signals alongside the standard openpilot log data, add the--can flag. You can optionally specify a DBC file by name; if you omit --dbc, the DBC is inferred automatically from the route.
PlotJuggler loads openpilot’s standard rlog and qlog formats via the commaai PlotJuggler plugins. Raw video is not plotted — use Cabana if you need to view CAN data alongside the drive video.
