|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: How to determine root cause of robot dropping from Teleop to Disabled during matc
http://wpilib.screenstepslive.com/s/...og-file-viewer
The log has a great plot that should help visualize your problem I would be looking closely at radio placement, and would consider having a fresh radio at your next regional to substitute in. Review logs from your other matches and see if there are signs of connectivity issues. In general terms, connectivity issues in one robot won't cause a replay. If the FTA isn't busy during practice day at your next regional, I suspect they'd be happy to show you the field monitor and discuss how replay decisions get made. |
|
#2
|
||||
|
||||
|
Re: How to determine root cause of robot dropping from Teleop to Disabled during matc
Thanks for the help so far.
Just a couple quick answers, we are using a 2014 classmate as the driver station, the power options have been disabled, the firewall has been turned off. This classmate sole purpose is this years driver station, but I had found some instances in the past where Spoitfy was loaded... I had a discussion about the importance of this box remaining pristine, but like I said, I was not there this weekend. As to code issues bogging down the roborio, we log the "loop time" of the 20ms timed task loop where our control loops run, and you can see from the data, that the loop time is consistent. This has been a great indicator of code issues, and we have learned if that data is not right to figure out the problem, and fix it. I have worked with the FTA at the event, over the last two years I have FTAA on a couple FTC events with him. Just don't know the FRC FMS. |
|
#3
|
|||
|
|||
|
Re: How to determine root cause of robot dropping from Teleop to Disabled during matc
Watching the RSL pattern in the video, and looking at column B of your logs, it looks like the first period where your outputs were disabled was 11 seconds, and the second was 2.3 seconds. The log file on the DS will have some messages indicating whether the DS lost comms with the field, with the radio and robot, or just the robot. It also contains messages every few seconds showing the laptop CPU usage, roboRIO CPU usage, and lots of other stuff. Please post the file or contact me and I'll give you email instructions and I'll be happy to help you identify the issue.
Also, it looks like they started working about the time the FTA made it to their station. Does the drive team have an idea of what was done at the DS? Did they reconnect the ethernet cable? Did they reboot their code? Greg McKaskle |
|
#4
|
||||
|
||||
|
Re: How to determine root cause of robot dropping from Teleop to Disabled during matc
Quote:
If you can get in touch with your alliance partners and get their logs, you may find a correlation in communication events. There seemed to be a number of gremlins, including the 'you most close and reopen the driver station' between each match or FMS can't see you. |
|
#5
|
||||
|
||||
|
Re: How to determine root cause of robot dropping from Teleop to Disabled during matc
Tom,
Many gremlins, and anomalies with that field that weekend. On the webcast they said it was a complete "power loss" on your side of the field and that was why the replay was granted. One of the things that concerns me, is what is the determining factors between the decision to replay your match, and not replay our match. As that decision, could have been a deciding factor on who moved on. Another glitch in one of our other matches would have knocked us out for sure. As it happened, our elevator self destructed due to being disabled and re-enabled too, and that almost knocked us out with a single event. From our logs, I understand what our robot did, and there are code fixes we can make so that we don't react the way we did when being disabled, and re-enabled. It was kind of a perfect storm scenario, where the elevator was being jogged manually when we lost comms, and when re-established, the pid was reset and sending it to lowest position, those events made us try to rip the elevator when we jammed the container in our arm.. This failure mode was not something I have seen in the past, but I now know to test for this scenario. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|