This is an issue specifically for our programming laptop—what we were told at comp was that the version (Windows 11 before we reverted to 10) was incompatible. The driver station computer works fine deploying code using the same Ethernet cable (as it was already Windows 10.) However, even with the version change on the programming laptop, we still can’t connect.
Some background:
-We have a stable connection to the static IPv4 on the radio and can connect to the roboRIO config on the web browser
-We tried connecting to the USB cable and to the roboRIO’s direct Ethernet outlet, all to no avail
-All of our firewalls are disabled
-Checking on the computer’s terminal reveals that there is indeed a static connection going to the computer
-Reimaging and configuring the RIO has no effect on this laptop—multiple CSAs have tried this already
Any help is greatly appreciated, this process has been incredibly tiresome lol
This is a dependable way to deploy, yes, however if some teams want to check their cameras before a match at a competition, you would need to be tethered via ethernet.
Strange…I slept on it and now it executes the code when tethered, meaning it can be enabled. However, it remains on 80% while executing and won’t change past that. We reset the RIO and it didn’t have code on it but now shows green in comms, meaning it is being sent. Here’s a photo for reference:
I’m assuming your code works just fine over wifi, and builds with no errors.
Is your vscode Wpilib updated? Is your rio updated? Is your radio flashed?
What happens when you try and deploy a blank wpilib project? If you create a blank project and try to deploy, it will at least tell us whether it is something in your code, or something on the rio.
Last think I would try would be to uninstall and reinstall wpilib on your laptop - both the extension and the other tools it downloads with it.
Side note, while you have driver station up: could you post an image of the connections tab?
It is the second block on the left side of driver station.
Are you using the User button on the roborio to do anything? Something new this year that was just found out a week or 2 ago is that holding the user button for 5 seconds can cause the robot program to not boot, and to hang at that step during the deploy.
You can hold the user button for another 5 seconds and reboot it to get out of that state. Would definitely recommend not using the user button for anything.
It’s very fickle now, so it may be an issue with the ports on the hub or an Ethernet possibly. I reset the RIO after it stopped connecting when changing the battery out, and now the build is successful with the Ethernet. I realize there’s a version issue with the driver station so I’m trying to update it currently, but here’s a photo nonetheless: