My team have just participated in Brunswick Eruption 2023. We had two occasions during PlayOffs where our robot lost communication - and it returned after a while. We also had more constant problems during another OffSeason midyear.
We decided to finally look at our DS Logs to understand what’s going on and why is it so random (sometimes it happens after a collision and sometimes its just out of nowhere). I selected two logs during BE where we lost com. I’m anexing them in this post.
Basically we noticed we have brownouts in almost every match, but sometimes - even with insane voltage drop, the robot works smoothly - and again, sometimes it doesn’t. We couldn’t really find a pattern in our logs, so I’m asking for help to make sure the issue is just about battery (and how can we fix it) or if there is something else we need to worry about.
Without looking at the logs, I’ll share we had two instances of this at Tidal Tumble. We tracked it to the network switch we were using.
Radio was powered from radio power module (RPM) and was fine.
RoboRio had no issues.
The switch had a hotglued barrel jack for power, but under very heavy force, the switch would lose power and take 3-5s to restart. The ethernet from the Rio was routed into the switch, so for those 3-5 seconds we would lose comms, and be fine after. We removed the switch (and the raspberry pi it was connected to) and ran the Rio ethernet directly into the RPM and never had an issue again.
When you’re asking for help diagnosing lost communications, how did you determine that the radio is not the problem?
I don’t have the ability to look at your logs right now, but I was curious as to how you elminated the radio as the source problem with your lost comms versus otherwise.
Also, how is the networking on your robot wired? Ethernet to the roborio is connected to what and where on the other end?
Looking at your logs and match video, your roboRIO is power cycling in match. You can see the RSL turning off for a couple of seconds and then turning back on.
Seemed like when the contact was on the RSL side of the robot, your Roborio rebooted. Try a little hot glue to hold those power wires in place on both the power and the Rio side.
Enable the robot and hit it with a hammer hard on that side to see if you can reproduce it.
I don’t think this timestamp is a rio power cycle. The RSL goes off for a few seconds and then starts blinking again, and the robot is moving throughout.
The robot does stop moving between 92s and 52s remaining in the match, although unfortunately the RSL is obscured. To me, that timing is in a grey area between radio & rio reboot. I would guess rio but I’m not really sure just from the video. The DS log messages that were shared seem to agree.
I definitely agree with your assessment for this one. The RSL starts blinking again about 32 seconds after it turned off. Too short for the radio to have rebooted.
I just linked to when the matches started. I probably should’ve clarified that.
In match 4 there’s a slight change in color at the 90 second mark below the grey wheels on the intake that to me matches the RSL turning back on. (I could be seeing things but it looks like the RSL to me)
In match 4, based on the logs, the first short issue is brownout. The PDP is measuring 250 amps of current total, and that’s the most seen in the match. The second is roboRIO reboot. You can see this because of the log message 11:43:57.932 AM Code Start Notification.
In match 9, its also a roboRIO reboot.
I concur with the recommendation to check all wires in the path of the roboRIO (including battery wires).