Have you ever lain awake at night wishing for more visualization tools than you know what to do with? Team 6328 has been hard at work over the past few months, so you can finally rest easy:
This is AdvantageScope, 6328’s robot diagnostics, log review/analysis, and data visualization application. We started this project last year as part of 6328’s openalliance efforts, in conjunction with our logging framework AdvantageKit. Since their initial release, the two projects have grown apart. That’s why this 2023 release of AdvantageScope is designed to interface with any WPILib project, using the standard WPILOG and NT4 formats.
There are too many new features in the AdvantageScope beta to talk about everything, but here are a few of our favorite features:
- Historical log analysis using WPILOG files, produced by WPILib’s built-in data logging or by AdvantageKit.
- Live data streaming using NetworkTables 4, supported by the 2023 beta of WPILib.
- A wide selection of flexible graphs, charts, and tables
- Synchronized video playback from a separately loaded match video
- 2D field visualization of odometry data
- Joystick visualization, showing driver actions on customizable controller representations
- Swerve drive module vector displays
- Console message review
- Log statistics analysis
- Flexible export options, with support for CSV and WPILOG
And of course we can’t forget…
- 3D field visualization with CAD-based robots
Check the 3D field documentation for more videos of the visualizer in action.
The 3D view supports a variety of camera views, including robot relative (tracking) and fixed cameras (like driver and vision cameras). It can display a 2D or 3D robot pose, plus a set of arbitrary 3D poses. Very useful for visualizing AprilTag pipelines…
By combining AdvantageScope’s numerous visualization tools, it’s easy to create advanced views like the one below.
You can download the 2023 beta from the AdvantageScope repository. Also check out the AdvantageScope documentation for more details on all of the features described above. We would welcome community feedback, questions, and suggestions as we continue our development effort.
We also just released the 2023 beta of AdvantageKit, our logging framework! More details here.
-Jonah