-
Notifications
You must be signed in to change notification settings - Fork 270
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
Troubleshooting Idle Robot on the Field #1795
Comments
I think this can be expanded into a more general troubleshooting section. Some issues I'm thinking of:
StoryA motor controller (SparkMax in this instance) erratically stopped working in the middle of matches (recurred for quite a few matches), with error messages being printed about status frame 2 being missing from that motor controller (but no error messages about frames 0 and 1). The issue was that we were tripping the 40A breaker (and when we thought of checking DS logs for this, it was evident), causing the motor controller to restart and lose the status frame configs (causing a discrepancy between how often the code expects to receive a status frame and how often the motor controller sends a status frame): Frames 0 and 1 were configured to be sent less frequently than the default, so the code didn't expect them to be sent -- so no "missing frame" errors; status frame 2 was configured to be sent more frequently than the default, so the code expected status frames that weren't sent -- thus a "missing frame" error. |
Honestly, I've never seen this happen on a field. In the pits? Sure. I would not classify this as a field problem, as most issues are going to be identified at compile time.
Yep
Yep.
Again, assuming the team tests basic robot functionality in the pits. I would not classify this as a "field" problem. |
I have encountered code crashing quite often and would say it is probably one of the most common causes of a team being bypassed. I completely agree that the vast majority of the time this is caught before the field but when it isn't the field can't really let them troubleshoot it or push new code. If it is constantly crashing their robot program there is not much to be done. To be fair though there is not too much advice we can provide on this other than "fix the error" and make sure to test all autos and different permutations of scenarios that could happen on the field. |
@Daltz333 I've seen both of the cases you've doubted happen on the field, and helped teams with them at competitions. The first is definitely not catched at compile-time (unless we make those methods |
What I specifically think should happen is code specific issues being in a separate troubleshooting article. I added a troubleshooting section in #1814 that can be expanded to identifying and troubleshooting common code related issues. |
Yes I don't think this should delve into code issues as much as say that code issues could leave you stranded on the field if certain things happen and possibly some advice for mitigating that chance. |
I want a better name for this. This should all be information that a CSA / FTA knows but this will help let teams inside our head and let us know what we are looking for when a robot goes idle on the field and what additional troubleshooting should be done based on this problem discovery.
The text was updated successfully, but these errors were encountered: