diff --git a/source/docs/software/troubleshooting/common-field-problems.rst b/source/docs/software/troubleshooting/common-field-problems.rst new file mode 100644 index 0000000000..6c1c3e43ec --- /dev/null +++ b/source/docs/software/troubleshooting/common-field-problems.rst @@ -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 `. 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 `. + +.. 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 ` 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 ` or :ref:`Static `. Another potential problem could be excessive bandwidth utilization. Try :ref:`measuring your bandwidth utilization `. + +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 + +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. diff --git a/source/docs/software/troubleshooting/index.rst b/source/docs/software/troubleshooting/index.rst new file mode 100644 index 0000000000..e748178143 --- /dev/null +++ b/source/docs/software/troubleshooting/index.rst @@ -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 diff --git a/source/index.rst b/source/index.rst index ef3bc696e1..038ddd7b87 100644 --- a/source/index.rst +++ b/source/index.rst @@ -289,6 +289,7 @@ Community translations can be found in a variety of languages in the bottom-left docs/software/can-devices/index docs/software/basic-programming/index docs/software/support/support-resources + docs/software/troubleshooting/index docs/software/frc-glossary .. toctree::