Mechanical-Advantage / AdvantageScope

Robot telemetry application
MIT License
165 stars 50 forks source link

AdvantageScope

Build

AdvantageScope is a robot diagnostics, log review/analysis, and data visualization application for FIRST Robotics Competition teams. It reads logs in WPILOG, DS log, Hoot (CTRE), and RLOG file formats, plus live robot data viewing using NT4 or RLOG streaming. AdvantageScope can be used with any WPILib project, but is also optimized for use with our AdvantageKit log replay framework. Note that AdvantageKit is not required to use AdvantageScope.

AdvantageScope includes the following tools:

View the online documentation or find it offline by clicking the πŸ“– icon in the tab bar.

Feedback, feature requests, and bug reports are welcome on the issues page. For non-public inquires, please send a message to software@team6328.org.

Example screenshot

Installation

  1. Find the latest release under "Releases".
  2. Download the appropriate build based on the OS & architecture. AdvantageScope supports Windows, macOS, and Linux on both x86 and ARM architectures.

Building

To install all dependencies, run:

npm install

To build for the current platform, run:

npm run build

To build for another platform, run:

npm run build -- --win --x64 # For full list of options, run "npx electron-builder help"

To build the WPILib version, set the environment variable ASCOPE_DISTRIBUTOR to WPILIB before building:

export ASCOPE_DISTRIBUTOR=WPILIB

For development, run:

npm run watch
npm start

Assets

For details on adding custom assets, see Custom Assets.

Bundled assets are stored under bundledAssets. Larger assets are downloaded automatically by AdvantageScope from the AdvantageScopeAssets repository.