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

Enhanced Troubleshooting Guides #1884

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

gerth2
Copy link
Contributor

@gerth2 gerth2 commented Aug 21, 2022

Attempting to bite off the following issues:

#1796
#1794
#1793
#1797
#1795

New Troubleshooting section to be added, with some general debug advice, pages for high-level "classes" of issues to be addressed.

General advice should include both good "mindsets" to have for effective troubleshooting, as well as an introduction to the tools and sources of information to use to gather info about the problem

Each class of issues should have a list of "common symptoms" associated with them, and common root causes to check.


In the case of most FRC robot troubleshooting, the hypothesis will be relatively small. A valid hypothesis could simply be "If I add a `* -1` to line 354 of my code, it should fix the motor that's running backward". The experiment would then be to make the change, upload the code, and attempt to reproduce the backward motor issue. If the motor is now running the correct direction, it is reasonable to assume the hypothesis was correct, and no further action is needed. However, if the issue persists, one could assume the hypothesis was not entirely correct, and the process must be repeated with a new hypothesis.

Change One Variable at a Time
Copy link
Collaborator

Choose a reason for hiding this comment

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

It may also be useful here to say that if a troubleshooting step did not change the observed symptom, it should be undone.

@@ -0,0 +1,83 @@
Introduction to Troubleshooting
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's probably worth mentioning keeping a written record of the steps that were taken (why they were taken), and what the observations were.

- Perhaps the rio <-> radio connection came unplugged
- Perhaps the ethernet cord is bad (can be identified by looking at the light indicators on the Rio/Radio for network activity)
- Is the firewall disabled?
- It is recommended that the firewall is always disabled when at an events
Copy link
Collaborator

Choose a reason for hiding this comment

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

add reference to DS diagnostics tab and which of these can be seen through it

@TheTripleV
Copy link
Member

For the problem/solution portions, the "problem" should be written in the first person from the perspective of a student so that it is easier to google.

On example, Unable to connect to your robot? should be closer to Can't connect to my robot or How do I connect to my robot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants