Closed DrewTheRat closed 6 years ago
With yesterday's (untested) changes, the log files will be in ~/logs/
directory, with log file names in pdp-MMdd_HHmmss.csv
format (ex: pdp-0110_173042.csv
), and the file is created every time the command's initialize
is called (the idea is to have separate files for auton and teleop).
The format is
Time,TotalCurrent,Temperature,TotalEnergy,TotalPower,Voltage,Channel 0,Channel 1,Channel 2,...,Channel 15
logging with minimum 1 second in between each line.
TODO: use match number in file name when/if available along with match time when available.
I'd recommend using ss.SSS in the status line format to allow subsecond logging to capture short transients. Also, include a raw milliseconds columns to make graphing easier (unless excel can make sense of a human readable timestamp)
Don't forget to close this if its been tested and works
Goal:
Log the current from each PDP channel to a CSV for later analysis. THe main goal would be to diagnose brownouts.
Acceptance Criteria: