Our robot generates wpilog file every match and they are stored on the roborio. Is there any way to make the robot automatically download it to the driver station computer?
Do you need it to be automatic? You can get them through the Drive Station or DataLogTool fairly easily. I use a couple of USB drives and swap them and offload them as needed, that way the robot doesn’t need to be on or connected, and I can avoid filling up the RIO storage.
I think you need to charge you battery.
If you want an automatic solution, use ssh on [email protected]
and copy over /home/lvuser/logs/*
via scp
So you recommmand saving the log to an external driver and then it can just be pulled off the drive?
I don’t think any of the ways are wrong.
For us, the USB drives work as we only tether the programming laptop to send new code (not every match). Having two USB drives lets you swap and not forget to plug the drive back in. The programming laptop stays in the pit so we can review logs and code during matches. And we have a Drive Station laptop separately. Most of the tethering is to the DS laptop for troubleshooting or system checks.
At the shop, downloading logs directly is fine, or maybe preferred, since you’ll be near a laptop with a connection to the robot.