View Single Post
  #12   Spotlight this post!  
Unread 24-03-2011, 01:05
edzenitis edzenitis is offline
Registered User
FRC #2141
 
Join Date: Jan 2011
Location: Danville
Posts: 3
edzenitis is an unknown quantity at this point
Re: Program overloading the cRIO?

We had similar problems to team 2893. After Autonomous mode finished, Teleop mode would work only half the time. I don't know if these are related or separate problems, but we were getting error messages about Robot drive being too slow, when Teleop did work it was sometimes sluggish, and data rate on the field was taking twice as long as the other teams. There seemed to be a pattern where we would deploy the code, it would work in Auto and Teleop. Then the next round, Teleop wouldn't work. When the code was redeployed, the same thing happened. This was repeated ~6 times during the tournament. We raised the radio up higher for the last two rounds, but had similar issues. We never experienced this when tethered to the cRIO.

We don't have a spare cRIO or I would try running the software using the Elapsed Times.vi to see if Teleop is running too slowly and try to isolate the problem. I'm posting the code if anyone is willing to take a look at it or possibly run it to see if the timing is reasonable or not.
Attached Files
File Type: zip 2141 Code.zip (110.8 KB, 6 views)
Reply With Quote