Go to Post This place is much brighter than most institutions I have seen. It also seems to be lacking straight jackets which I think is a mistake for many of us. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-02-2010, 23:55
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: cRIO Image? Need help soon!!

We had this exact same problem. The root of it is there is something with your robot that is causing WPILib errors at an extremely high rate, which slows down the code enough to cause the jags to miss their internal watchdog and freeze up (as far as I could tell). Our exact problem was our camera mount was constantly pressing the camera reset button, causing the cRIO's camera init to fail and fail again until the system just gave up.

Also, if any jags are messed up (reset IDs, no breakers, broken cable, etc) and you are sending commands to them, if enough are down then I've found the intermittent trouble and sluggish controls (another symptom btw) shows up too.

To the folks at WPI if you are reading this: Please cut down on your errors. At the very least, put a timer on them to limit the rate of errors being thrown. They seriously are a problem for anything that can cause an error on every single Teleop loop. In the time between cRIO finishing boot and camera finishing boot, we can still sometimes have this problem (NetConsole definitely shows the overflow of errors).
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
  #2   Spotlight this post!  
Unread 24-02-2010, 00:05
AmoryG AmoryG is offline
Registered User
FRC #2423 (KwarQs)
Team Role: Alumni
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Watertown, MA
Posts: 221
AmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud ofAmoryG has much to be proud of
Re: cRIO Image? Need help soon!!

Quote:
Originally Posted by Radical Pi View Post
To the folks at WPI if you are reading this: Please cut down on your errors. At the very least, put a timer on them to limit the rate of errors being thrown. They seriously are a problem for anything that can cause an error on every single Teleop loop. In the time between cRIO finishing boot and camera finishing boot, we can still sometimes have this problem (NetConsole definitely shows the overflow of errors).
Yep. Part of the code I wrote had to be commented out because number of errors that were popping up was causing serious lag (NetConsole was displaying errors faster than the eye can see).
__________________
KwarQs 2423

2008 Boston Regional Rookie Allstars

http://whsrobot.blogspot.com/
  #3   Spotlight this post!  
Unread 24-02-2010, 14:32
MattD's Avatar
MattD MattD is offline
Registered User
AKA: Matthew Douglas
FRC #0228 (GUS Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Indianapolis, IN
Posts: 185
MattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to behold
Send a message via AIM to MattD
Re: cRIO Image? Need help soon!!

Quote:
Originally Posted by Radical Pi View Post
Our exact problem was our camera mount was constantly pressing the camera reset button, causing the cRIO's camera init to fail and fail again until the system just gave up.

To the folks at WPI if you are reading this: Please cut down on your errors. At the very least, put a timer on them to limit the rate of errors being thrown. They seriously are a problem for anything that can cause an error on every single Teleop loop. In the time between cRIO finishing boot and camera finishing boot, we can still sometimes have this problem (NetConsole definitely shows the overflow of errors).
I'm not really sure what "errors" you're talking about.

How is it WPI's fault if your camera mount causes it to continually reset? Isn't that your mistake?

What kind of errors are you seeing in every teleop loop? If it's something wrong with the WPI library, they're probably going to be able to fix it faster if you can provide some more details.
__________________
GUS Robotics Team 228

2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award
  #4   Spotlight this post!  
Unread 24-02-2010, 14:47
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: cRIO Image? Need help soon!!

It's not the errors themselves that I'm complaining about, the problem is how wpilib handles those errors. There is nothing limiting the rate of errors being printed to stdout, so repeating errors slow everything down
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Closed Thread


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
cRio doesn't re-image Lilszamora FRC Control System 3 15-02-2009 21:06
Crio image download brainsdmaner FRC Control System 2 15-02-2009 01:06
cRIO Image version? Chris11246 Programming 1 14-02-2009 16:44
Need help with CRIO GillSt.Bernards Electrical 4 14-02-2009 14:42
In need of PWM Cables! SOON! Travis Covington Electrical 2 19-02-2004 20:55


All times are GMT -5. The time now is 03:30.

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