Go to Post JVN, Captain Mechanical Engineer, Mr. "Software is evil", has supported the CMU camera. I'm speechless. What's next? Copioli designing in imperial? - Karthik [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 17-02-2011, 16:18
555Robotics 555Robotics is offline
Registered User
FRC #0555
 
Join Date: Feb 2011
Location: New Jersey
Posts: 4
555Robotics is an unknown quantity at this point
cRIO resetting during Teleop?

We've recently started having this problem where the cRIO connects to the driver station - we can ping it fine - but when we go to Enable it, we encounter some issues:
  1. The driver station indicates that it's enabled
  2. The compressor doesn't turn on, and no user messages appear
  3. After a few seconds, the driver station loses communication
  4. During this time, however, the battery voltage is displayed correctly

When we try to ping it while the communications seem to be down, it times out for a bit and then comes back. We concluded that this is because the cRIO reboots whenever Teleop is started. Even worse, however, is that this behavior is completely inconsistent - sometimes when we hard reset the cRIO, we have this problem, and sometimes we don't. We've tested it further and found that the problem seems to happen in the exact same way regardless of how we're connected, wireless or tethered. We can't find anything in our code that would cause the cRIO to reboot, and we even tried reverting to a previous version of the code that definitely worked and we still had the same problems. We got the most recent v28 image and the latest Windriver update -- no luck.

I've posted our code to a pastebin, hopefully someone here can help us out.

http://paste.ubuntu.com/568444/
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


All times are GMT -5. The time now is 13:34.

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