View Single Post
  #16   Spotlight this post!  
Unread 08-02-2009, 14:24
kyungjin kyungjin is offline
Software Specialist
AKA: Daniel
VRC #0646
Team Role: Programmer
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Honolulu, Hawaii
Posts: 65
kyungjin is an unknown quantity at this point
Send a message via AIM to kyungjin Send a message via MSN to kyungjin
Re: Running the Motors Backward in WindRiver & cRIO Freezes

Oh, and as the freezing cRIO...

It seems to happen when the cRIO is outputting messages to the console (Target Console). The way I see it, there is significant lag (about half a second) between values inputted into the cRIO (for example joystick values) versus values outputted from the console on your computer using printf commands. This leads me to believe that the cRIO freezes all operations trying to send values when the processor gets overloaded (because the values outputted are too slow to match the values inputted) on the cRIO and thus cannot send data as quickly to the DSU. In either case however, it works fine whenever the robot is set to run by itself (without the target console).

For us, the freezing still happens... It works for maybe 5 to 15 seconds at a time, more or less, but it's still a valuable source of data collecting and error correcting.
Reply With Quote