Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First pass at integrating AdvantageKit into MaroonFramework #34

Merged
merged 12 commits into from
Jan 15, 2024

Conversation

dejabot
Copy link
Contributor

@dejabot dejabot commented Dec 30, 2023

First pass (for initial feedback) of integrating AdvantageKit into MaroonFramework.

Current MaroonFramework logs will also be written to WPI logs.
DriverStation will log joystick input, to allow for replay analysis.
Tested on BurroBot. Can view console logs and joystick input (replay).

Still need to test out various permutations of SD cards/sizes/formats - and verify that logs still get written to RoboRio if USB drive is missing.
Future work will start logging swerve, odometry, and ideally mechanisms to allow for analysis and tuning through replay.


This change is Reviewable

@dejabot dejabot requested a review from rcahoon December 30, 2023 08:01
build.gradle Outdated Show resolved Hide resolved
src/main/java/com/team766/logging/Logger.java Outdated Show resolved Hide resolved
src/main/java/com/team766/logging/Logger.java Outdated Show resolved Hide resolved
dejabot pushed a commit that referenced this pull request Jan 6, 2024
Copy link
Contributor Author

@dejabot dejabot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PTAL? Thx!

@dejabot
Copy link
Contributor Author

dejabot commented Jan 15, 2024

Thx! PTAL?

@rcahoon
Copy link
Member

rcahoon commented Jan 15, 2024

Can you confirm that it works in the simulator now?

@dejabot
Copy link
Contributor Author

dejabot commented Jan 15, 2024

thx! yes, confirmed.

in doing some additional testing, I found that I missed Logger.logRaw() - updated.

@dejabot dejabot merged commit aceb624 into master Jan 15, 2024
3 checks passed
@dejabot dejabot deleted the integrate-advantagekit branch January 15, 2024 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants