Our Robot is disconnecting shortly after running our code. It disconnects shortly after enabling in the drive station. We think the problem is not the radio since the WiFi does not disconnect. This is what we have noticed happens when it disconnects:
sorry about that, I accidentally posted before finishing.
The problems we have noticed are: 1. The indicator light goes out when it disconnects 2. The time the robot takes to disconnect is much longer when we first power it up, but when it has already disconnected several times it takes a much shorter period of time to disconnect. 3. The radio does not disconnect.
Check your wiring. Start at the main breaker. If any single wire is loose, pulls out, or has threads hanging around, redo that connection until it’s solid. You should NOT be able to pull it out with a firm pull. Make sure fuses and breakers are seated fully.
Especially check your RIO wiring and radio wiring.
Then get a local team with good wiring practices to check again.
I’m thinking you have an intermittent short, or something along those lines.
It sounds to me like it could be one of two issues: loose wiring (as @EricH suggested) or code that’s crashing. Take a look at your driver station software when the robot restarts. If COMM stays green but CODE goes red then it’s probably a code problem; if both COMM and CODE go red then it’s probably a wiring problem.
Assuming you mean the RSL, totally concur that the most likely option is losing power to the RIO. Check everything of course, but especially as you are maintaining radio link, the most likely place for the issue is the pair of wires between the PDP and the RIO.
The next most likely spot is the connection between the radio and the RIO, though AFAIK this would always result in the RSL being on solid rather than dark.
Check your driver station logs for brown-outs that may be causing your robot code to reboot.
Also, is the robot just sitting there idle after enabling, or does it disconnect when trying to drive?
It usually disconnects after we disable after running, although sometimes it will disconnect while driving.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.