
11-14-2010, 04:57 PM
|
|
Registered User
 FRC #2941
|
|
Join Date: Nov 2010
Location: Benjamin Logan Highshool
Posts: 4
|
|
|
Intermitten power failures
Hello I am from Team 2941, and over a rather recent time frame, I have converted our robot from Labview to C++. For the most part, the robot has worked solidly (with that being said, I have stored previous versions of the robot that do not suffer such sporadic power failures).
Well to the point now outside of the background information; between some time interval (~5 seconds over wireless; really random on wired, ten seconds to a whole minute) the cRio cuts power to all the systems so the victors and solenoids will flash for a moment (no power is being sent through). I was originally programming with pthreads (avoid watchdog use where I can ), and have ultimately removed all threads except for the robot drive. At the current state, it is
GetWatchdog().SetEnabled(False);
while( TeleOperated()){
Wait(0.05);
}
The diagnostic light blinks every 200ms, for about 200ms; however, we do not have the jumper hooked up acrossed it. (Mind you, the only thread running is now the Teleoperated main). We have flashed the cRio with Windriver, swapped out our Distribution board, sidecar, and victors for jaguars.
So with that monster of a story, anyone have thoughts or answers?
|