FRC2706 / FRC2706/2019-2706-Robot-Code

Revamp Logging

Open
#165 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

A lot of what we've been doing over the past years was get it into a state where it can log data without impacting performance of the robot and be saved consistently. At FOPC we were able to accomplish both of these.

These are some ways to make logging more useful in future years.
- [x] Investigate/solve slow startup
- Partially resolved (see [logging-startup-performance](/FRC2706/2019-2706-Robot-code/tree/log-startup-performance))
- [x] Log periodic data separate from debug/trace data
- Save in machine readable file format (CSV?)
- [x] Capture `System.out/err` in debug logs
- [ ] Possibly way to combine DriverStation logging with other periodic logging

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the logging-startup-performance branch referenced in the issue, then inspect the existing periodic, debug/trace, and DriverStation logging paths. Define how DriverStation logs should be combined with periodic logs and what consistent, machine-readable output should look like; the issue is done when that integration is specified and implemented without impacting robot startup or runtime performance.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.