Go to Post Although you will see lot's of people complain about parts (sometimes that includes me) all of us are held to the same constraints. That's what makes this so much fun. - Al Skierkiewicz [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 22-02-2010, 16:56
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
cRIO Image? Need help soon!!

Hi-

Ever since we have updated to v20 of the cRIO, our Jaguars have been hating us.

We are using CAN, but the Jaguars are intermittently cutting out, at a seemingly random order. We are using the exact same code, and sometimes it works, sometimes it doesn't.

We have tried changing out cRIOs, and created multiple workspaces (C++) and to our frustration, nothing seems to work.

Edit:

All of our Jags are blinking a very fast yellow, something that is not listed in the Jaguar PDF chart...

Last edited by nighterfighter : 22-02-2010 at 17:02.
  #2   Spotlight this post!  
Unread 22-02-2010, 19:29
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: cRIO Image? Need help soon!!

try replacing the cables
  #3   Spotlight this post!  
Unread 23-02-2010, 04:24
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: cRIO Image? Need help soon!!

Quote:
Originally Posted by nighterfighter View Post
Hi-

Ever since we have updated to v20 of the cRIO, our Jaguars have been hating us.

We are using CAN, but the Jaguars are intermittently cutting out, at a seemingly random order. We are using the exact same code, and sometimes it works, sometimes it doesn't.

We have tried changing out cRIOs, and created multiple workspaces (C++) and to our frustration, nothing seems to work.

Edit:

All of our Jags are blinking a very fast yellow, something that is not listed in the Jaguar PDF chart...
Do you get this behavior with v19? What version of the Jag firmware are you using? Are you using the 2CAN or the BlackJag bridge?
  #4   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"
  #5   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/
  #6   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
  #7   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 23:16.

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