Go to Post 10:50PM, 1/14/16: I predict that hot dog wheels will grace Einstein before Mecanum wheels will. You heard it here first. - CalTran [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 14-11-2010, 16:57
RandomIteration RandomIteration is offline
Registered User
FRC #2941
 
Join Date: Nov 2010
Location: Benjamin Logan Highshool
Posts: 4
RandomIteration is an unknown quantity at this point
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?
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Common failures with TETRIX PhilBot FIRST Tech Challenge 20 25-10-2012 23:19
Your Successful Failures ? ebarker General Forum 0 03-11-2009 13:20
Last Minute Programming Failures robobrain0101 Programming 3 11-02-2007 14:30


All times are GMT -5. The time now is 18:06.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi