-
Notifications
You must be signed in to change notification settings - Fork 282
Add common field problems article #1814
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
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
source/docs/software/troubleshooting/common-field-problems.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
Common Field Problems | ||
===================== | ||
|
||
This article details some of the common problems that can plague your robot when it's on the field. It can be extremely frustrating and stressful when your robot breaks down. This article hopes to inform and instruct on what you can do to find the problem, and it's resolution. | ||
|
||
.. important:: Remember to never eliminate any possibility! It never hurts to double or even triple check that everything is working properly. | ||
|
||
Robot is stuttering and the RSL lights are dimming | ||
-------------------------------------------------- | ||
|
||
Whenever your robot seems to give jerking motions and the RSL lights are dimming, this is usually a sign of :doc:`brownouts </docs/software/roborio-info/roborio-brownouts>`. One of the first steps you can take to resolving a brownout is identify when it occurred and any notable correlating events. Did you go into a match with your battery too low? Are you drawing too much current somehow? Can you reproduce this in the pit? | ||
|
||
One of the most useful tools for identifying brownout causes is the :doc:`driver station log viewer </docs/software/driverstation/driver-station-log-viewer>`. | ||
|
||
.. image:: /docs/software/roborio-info/images/identifying-brownouts.png | ||
|
||
In the above image, you can see the brownout indicated by the highlighted orange line. The orange line represents dips (or lack of a straight line) in robot voltage. | ||
|
||
Joystick inputs seem to be dropping | ||
----------------------------------- | ||
|
||
One of the characteristics of lost joystick inputs is when you press buttons or an axis and nothing happens! This can happen from a variety of reasons, so it's important to analyze which one is likely to your situation. | ||
|
||
.. todo:: looking at the driverstation log and identifying if lost joysticks is a code related .. error:: text | ||
|
||
.. important:: There is a current :ref:`known issue <docs/yearly-overview/known-issues:onboard i2c causing system lockups>` where I2C reads can take a long time or lock up the roboRIO. | ||
|
||
Let's begin by asking a question. Can you reliably reproduce this issue at home or in the pits? This step is critical and assumptions *must not* be made. | ||
|
||
Yes, I can | ||
^^^^^^^^^^ | ||
|
||
This eliminates bandwidth or connectivity issues to the FMS. Some areas to explore are: | ||
|
||
- Are joysticks working properly? | ||
- Sometimes the issue can be as simple as a flakey USB cable or joystick. | ||
|
||
- Is the computer running slow or sluggish? Try restarting | ||
- High CPU or Disk Utilization can be indicators the Driver Station itself is sending inputs late. | ||
|
||
- Is the code doing any long computation or loops? (Misuse of `for` and `while` loops can be common problems) | ||
- In most cases, the use of any loops in FRC robot code can be avoided except in rare circumstances. | ||
|
||
No, I cannot | ||
^^^^^^^^^^^^ | ||
|
||
This is likely a bandwidth or IP configuration issue. Try setting your IP configurations to :ref:`DHCP <docs/networking/networking-introduction/ip-configurations:in the pits dhcp configuration>` or :ref:`Static <docs/networking/networking-introduction/ip-configurations:in the pits static configuration>`. Another potential problem could be excessive bandwidth utilization. Try :ref:`measuring your bandwidth utilization <docs/networking/networking-introduction/measuring-bandwidth-usage:viewing bandwidth usage>`. | ||
|
||
Unable to connect to your robot? | ||
-------------------------------- | ||
|
||
Setting up the driver station in the short few seconds before the match should be utilized to do a quick connectivity and joystick check. Assuming your robot is turned on and has been turned on for ~30-60 seconds, you might realize a problem has happened. Below are a list of common reasons you are unable to connect to your robot. | ||
|
||
- Disconnected ethernet connection on the driver station | ||
- Is the ethernet port on the driver station functional? | ||
- Disconnected ethernet connection on the robot | ||
- 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 | ||
|
||
.. todo:: add more and maybe some images | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. check IP addresses |
||
|
||
You should immediately notify the FTA that there is a connectivity issue for the quickest resolution. | ||
|
||
.. important:: While rare, it has been shown that the robot radio can sometimes take a large amount of time to boot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Common Robot Troubleshooting | ||
============================ | ||
|
||
This section details a variety of articles that may cover some problems you face when you actually go to get your robot up and moving. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
common-field-problems |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add disable usb selective suspend from DS tips article.
Add checking locking and checking joysticks before match from DS tips article