Code not Properly Downloading
We're having an interesting problem on our practice bot that we hope doesn't carry over to the competition bot.
When we load code with different autonomous routines, only one in about 10 downloads "works", whether we download wireless or directly via ethernet. We've tried reimaging the cRio and even swapped it for another cRio.
We're certain it isn't a code issue, as we even commented out everything but a basic "drive straight" command and it failed to function. When we load an old autonomous routine that worked, it doesn't function properly. Making no changes to code, if we load it a few more times, testing it between loads, we get lucky and it works maybe 1 in 10-15 times.
We are thinking the code is somehow being corrupted during load, but have tried both wireless and wired downloads. We have also considered perhaps faulty Jaguars. It seems to be limited to autonomous function, but we did have a similar issue with tele-op during the build where we thought we had a code issue, so we changed the code a few time to no avail; when we loaded the original unrevised code back on it inexplicably worked.
Perhaps it could be issues with the laptop and windriver? Has anyone experienced something similar?
|