|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: cRIO Image? Need help soon!!
try replacing the cables
|
|
#3
|
|||
|
|||
|
Re: cRIO Image? Need help soon!!
Quote:
|
|
#4
|
|||
|
|||
|
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). |
|
#5
|
|||
|
|||
|
Re: cRIO Image? Need help soon!!
Quote:
|
|
#6
|
||||
|
||||
|
Re: cRIO Image? Need help soon!!
Quote:
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. |
|
#7
|
|||
|
|||
|
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
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |