Conversation
|
i always forget to lint... |
Gold856
left a comment
There was a problem hiding this comment.
In other places, we put in a call to SmartDashboard.updateValues() after updating alerts. Looks like the AI missed it here. I think we ought to add it here as well.
AI? I didn't use AI... I just forgot to add the call, sorry about that. |
|
Looks awfully similar to Ruthie-FRC#1. Fine if you use AI, but you do need to clean stuff up like that. |
I try writing my code first and then see if i do things right because I dont want to mess up horribly. in this case i forgot to do it and so did double checking the code. |
|
That's cool then. Just was wondering. |
No worries. sorry if i got defensive, i just have a fear of messing up things in public, especially to people who maintain repos I look up to (such as everyone who works at photonvision). still managed to do it though... |
|
You're good. |
|
i fixed the linting issue @Gold856 |
photon-core/src/main/java/org/photonvision/common/hardware/metrics/SystemMonitor.java
Outdated
Show resolved
Hide resolved
|
I think i updated it but github is being weird so idk if it pushed propperly |
|
I don't see the change requested by craig yet? |
thank you. my computer was being weird, it said it pushed on my end but didnt show up over here so i wasnt sure. sorry abt that |
|
@spacey-sooty fixed it sorry about the delay |
| package org.photonvision.common.hardware.alerts; | ||
|
|
||
| /** Shared alert-group names for WPILib Alert instances. */ | ||
| public final class AlertGroups { |
There was a problem hiding this comment.
If you throw this in photon targetting you shouldn't need to duplicate it
Description
What changed? Why? (the code + comments should speak for itself on the "how")
Include fun testing screenshots or a cool video, to collect test evidence in a place where we can later reference it. Including proof this change was tested makes reviewing easier, helps us make sure we tested all our edge cases, and helps provide context for the future.
adds thermal throttling feature. cleans up spelling. resolves #2289
Any issues this pull request closes or pull requests this supersedes should be linked with
Closes #issuenumber.Meta
Merge checklist: