![]() |
Communication issues?
That's at least what I assume it is. My team recently agreed to present our robot at sports event (football game?) to show our support for breast-cancer awareness, and we forgot to check that the robot works first (how can you turn that down?). We booted up the robot today to do some diagnostics with the solenoids not properly functioning, and we found a new issue. The first time we turned it on, it was okay. It could drive and actuate two of the three solenoids. I was told to redeploy the code (because the hardware is apparently flawless), and we began having trouble. I should mention that before we started it up, we switched the target server to the proper one for a 4 slot cRIO. When it booted up, the "Robot Code" and "Communications" lights were on, but the robot itself was unresponsive. We tried re-imaging the cRIO, restarting the DriverStation, restarting the computer, and rebooting the robot. Every time resulting in a similar message:
Code:
Warning <Code> 44002 occurred at Ping Results: link-GOOD, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-GOOD, FMS-bad Driver StationCode:
Warning <Code> 44002 occurred at Ping Results: link-GOOD, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-GOOD, FMS-bad Driver Station |
Re: Communication issues?
The fact that the communication and robot code lights were on makes me strongly suspect that communication between the cRIO and the driver station is not the issue.
Questions:
|
Re: Communication issues?
Quote:
Quote:
Quote:
Quote:
|
Re: Communication issues?
Quote:
Quote:
It's helpful to know the state of the Talons as well. If they were solid orange when the robot was enabled, than that basically answers the same question. New question: Is your program printing any error messages in NetConsole? Can you try printing the values that you're sending to the motors? (I believe in C++ you can just use printf or cout) |
Re: Communication issues?
The messages you post are not all that unusual. I can help interpret some of it.
Quote:
Quote:
Quote:
Quote:
Quote:
The better way to look at this info is in the DS Log file viewer. It condenses these messages and filters them. It also places them on a time line along with CPU and voltage levels and helps identify many more issues. As for what is wrong with the robot, it doesn't seem to be a communications issue. It seems to be enabled at one point, but the code and/or electrical isn't doing what it should. Since it sounds like you made significant changes to the code -- even simplifications count as changes -- I'd start there. Use the Charts tab to see how the code is running. Add print statements to see what code is running, etc. To debug the gyro, you should probably break it down. If you were using LabVIEW, I'd suggest you run the example project for the gyro on your cRIO. If it works, use it as a template to compare against. If it also doesn't work, look at the wiring, the sensor, etc. I assume you have similar examples in C++. Greg McKaskle |
Re: Communication issues?
Soo... we can't print any information to the Driver Station or Netconsole.... The orange light, when enabled on either robot, stays on for about two seconds and then off for about half of one, and when disabled it's about an equally timed on/off sequence. Now neither robot is functioning. I'm beginning to think that WindRiver is just re-using the old *.out file (because the "gyro reading" [accumulator] continues to count up no matter which robot is attached)... any ideas?
|
Re: Communication issues?
Quote:
Quote:
What happens if you manually delete the existing .out file and rebuild? |
Re: Communication issues?
Quote:
|
Re: Communication issues?
Here's an update. We finally properly deleted the *.out file from WindRiver, and I believe we may have caused new problems in our search to find the original issue. Now, there is no flashing light on the Digital Sidecar, no errors in the build, and no gyro reading (yes!). For some odd reason, when we re-image the cRIO (which we've done quite a few times in the last day or so), the module which connects to the Digital Sidecar is now red, where it was green before in the same location (slot 3). According to the control system information:
Quote:
|
Re: Communication issues?
The normal location for the Digital module (where the Digital Sidecar attaches) is slot 2.
Slot 3 is for the pneumatics module. |
| All times are GMT -5. The time now is 20:12. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi