Skip to content

team3990/logUtils

Repository files navigation

Log things

Setup

download the executables from the latest release

Log merger

will merge 2 logs in one

mergelogs.exe -o output.wpilog log1.wpilog log2.wpilog

to see the full usage, run mergelogs -h by default, it leaves a 1 second gap between logs you can edit it using the --gap=... argument for example, mergelogs --gap=2000 -o output.wpilog log1.wpilog log2.wpilog to have a 2 second gap between the 2 logs when merging a log, a logname string entry will be created and will indicate the original filename of the current log

Log cropper

it will crop the log files based on the rsl state and leave 5 seconds before and after the match it will output in a file named -cropped.wpilog in the same directory as the input (no matter where is your current working directory)

croplogs log1.wpilog log2.wpilog ...

to see the full usage, run croplogs -h if you want to edit the padding (time before and after the match), you can use these 2 command line arguments

  • --start-pad
  • --end-pad

for example, croplogs log1.wpilog --start-pad=3000 to have 3 seconds instead of 5 before the match

Log utils

the logUtils program is a all-in-one that is mainly used by the TechLogManager to avoid downloading multiple files

Usage :

logutils --merge # (same usage as mergelogs)
# or
logutils --crop # (same usage as croplogs)

to see the full usage, run logutils -h

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages