Skip to content
This repository was archived by the owner on Jun 22, 2023. It is now read-only.

HelixEvents

notmattlythgoe edited this page Sep 19, 2019 · 7 revisions

HelixEvents is an event logging tool use to log event messages.

Starting The Logger

First you'll need to start the Logger. To do this you'll make a call to the HelixEvents singleton instance, we like to do this at the beginning of the autonomous period.

@Override
public void autonomousInit() {
  HelixEvents.getInstance().startLogging();
}

Accessing Your Logged Data

Logs Location

Your logs will be saved in one of two places: roboRio or USB stick. If you have a USB stick plugged into the roboRio your logs will automatically be saved to it in logs/. If there is no USB stick then the logs will be saved on the roboRio under /home/lvuser/logs/

Logs Name

If you are not connected to an FMS your log will be saved as testEvents.txt and will be overwritten each time the robot is restarted. However if you are at an event your logs will be saved in the following format: eventCode_matchType + matchNumber + Events.txt

Examples:

VAPOR_Practice1Events.txt
VAPOR_Elimination1Events.txt
VAPOR_Practice4Events.txt

Example Log

Clone this wiki locally