analyze-wpilog
Installation
SKILL.md
wpilog-parser
WPILOG is the binary log format used by logging libraries in the FRC ecosystem. The wpilog-parser library makes it easy to read and analyze the log files using TS/JS.
Creating a project
-
Init a project using
pnpm initor similar -
Add
wpilog-parseras a dependency -
Catalog the entries in the WPILOG file before deciding what to analyze
pnpm wpilog catalog ./example.wpilogThe default output is plaintext. Use
--json,--jsonl/--ndjson, or--csvwhen another format is more useful.
Analyzing logs
Use parseDataLog to parse DataLog bytes. Filter by name and narrow on type: