View Single Post
  #1   Spotlight this post!  
Unread 14-03-2016, 21:21
Auri's Avatar
Auri Auri is offline
Llama Overlord
AKA: Doug Guzman
FRC #2081 (Icarus)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Peoria IL
Posts: 4
Auri is an unknown quantity at this point
Randomly Dropping out of Teleop

We have been having issues where in the middle of a match, with no other problems, the robot suddenly drops out of teleop mode, while the driver station stays in teleop. After that, for the remainder of the match, the robot would periodically go back into teleop for a single software loop exactly once every 5 seconds, but then immediately drop out again, putting us out of the match. Neither the initial nor subsequent drops occur in conjunction with physical shocks or impacts. Neither the field management system nor the driver station indicated any connection issues. Similarly, the log file for the match shows minimal packet loss and no brownout issues. The occasional battery voltage drops during the problem are the result of the robot moving on the field when a command happened to get through during one of the single-loop teleop reconnects.

This issue occurred twice during our last regional, on different days, with seemingly no connection between them. We have another regional this coming weekend and are obviously eager to resolve this before it. We have only observed this during matches, not during practice. The driver station log files and our code are attached here. Sorry for code quality, this is our first year using C++ to code the robot.

Anyone know what is happening here and how to fix it?
Attached Files
File Type: zip DS Logs Sat.zip (65.4 KB, 10 views)
File Type: zip src.zip (9.7 KB, 11 views)
File Type: zip DS Logs Fri.zip (49.3 KB, 4 views)
Reply With Quote