Recently whenever we run our robot, we’ve been getting spammed with the following errors
and are unsure of what’s the cause of it.
Recently whenever we run our robot, we’ve been getting spammed with the following errors
Throwing a usb thumb drive in the rio should stop the errors and let AdvantageKit save the log files to the default location
Ah, alright, that makes a little more sense now. Thank you!
While this solution works, we would like the option to run our robot without a USB stick without getting spammed. This was possible on 2023. How do we do it on 2024?
If you don’t want to use the default location, you can use one of the other WPILOGWriter constructors that lets you specify the log path.
It’s probably not smart to log to the roborio 1’s flash.
We are using roboRIO 1s. However, your post gave me the solution. We just need to bypass the addDataReceiver(new WPILOGWriter()) call if there is no USB stick present. We sometimes run without the stick when we’re using the real-time data feed to AdvantageScope.