The rio was v17. We used the last of our unbag time today, so all of this testing will be done on Thursday starting 5pm. I can’t remember everything, but I’ll do my best.
We replaced the rio today. The old one was v17 and the “latest” firmware version. We tried a different laptop but it still didn’t work. We did stuff with the web interface, re-imaging, and SSH, but none of it worked. We tried directly plugging into the rio with ethernet but it still didn’t work.
The weird thing is we randomly tried laptop->ethernet->radio->ethernet->rio everything worked great. I didn’t try wireless. We were able to deploy code and even do some testing. Before we switched to the ethernet+radio setup, I removed some camera code that we thought could have been causing issues. Between competitions, I upgraded the camera code so we would have higher resolution. I copied the code from team 7160. I didn’t know really what numbers to change, so I set the width to 4000 and height to 3000. I know those are ridiculously large numbers, but I figured the rio would take care of taking the numbers down to something realistic. I don’t know if it ever did.
When I made this camera code change, I experimented with a different roborio. We have a “practice bot”. It’s just a board with almost all of electrical components of the real robot with talons, solenoids, etc. I deployed the code to it and it worked great. Not a single issue. The code that I deployed to it was the same code deployed to the real robot.
Anyway, I deployed the simple camera version to the roborio immediately after switching to ethernet+radio. And after that, the communication was solid. Not a single issue. Code deploys worked and I was even able to do some testing with motors. I do not know if this was due to the camera change or the setup change. However, Fletch1373 makes it sound like there could be something to do with the setup. I haven’t had a chance to read everything yet, but I’ll get to it soon.
Edit: Forgot to answer some of the other questions. When I pinged 172.22.11.2 via USB, random amounts of packets would be lost. We’ve tried several laptops.
And I just remembered! In addition to simplifying the camera code, I ALSO just unplugged the camera. So that’s three variables that were never individually tested. However, it isn’t consistent. Wouldn’t it also not work on our practice bot? The practice bot works fine.