|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
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 Station <time>10/9/2013 5:50:26 PM<unique#>12 FRC: Driver Station ping status has changed. WARNING <Code> 44008 occurred at FRC_NetworkCommunications <radioLostEvents> 6.501 <radioSeenEvents> FRC: Robot radio detection times. Warning <Code> 44003 occurred at Driver Station <time>10/9/2013 5:47:36 PM<unique#>11 FRC: No robot code is currently running. WARNING <Code> 44007 occurred at FRC_NetworkCommunications <secondsSinceReboot> 3.279 FRC: Time since robot boot. Warning <Code> 44002 occurred at Ping Results: link-GOOD, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-GOOD, FMS-bad Driver Station <time>10/9/2013 5:47:20 PM<unique#>10 FRC: Driver Station ping status has changed. Warning <Code> 44002 occurred at Ping Results: link-GOOD, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-bad, FMS-bad Driver Station <time>10/9/2013 5:47:15 PM<unique#>9 FRC: Driver Station ping status has changed. Warning <Code> 44004 occurred at Driver Station <time>10/9/2013 5:47:15 PM<unique#>8 FRC: The Driver Station has lost communication with the robot. Code:
Warning <Code> 44002 occurred at Ping Results: link-GOOD, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-GOOD, FMS-bad Driver Station <time>10/9/2013 5:44:05 PM<unique#>4 FRC: Driver Station ping status has changed. WARNING <Code> 44008 occurred at FRC_NetworkCommunications <radioLostEvents> 102.504 <radioSeenEvents> FRC: Robot radio detection times. WARNING <Code> 44007 occurred at FRC_NetworkCommunications <secondsSinceReboot> 104.262 Warning <Code> 44001 occurred at No Change to Network Configuration: "Ethernet"<noNICConfig> FRC: Time since robot boot. Driver Station <time>10/9/2013 5:43:38 PM<unique#>3 ERROR <Code> -44009 occurred at Driver Station <time>10/9/2013 5:43:38 PM<unique#>2 FRC: A joystick was disconnected while the robot was enabled. Warning <Code> 44006 occurred at Driver Station <time>10/9/2013 5:43:38 PM<unique#>1 FRC: Custom I/O is not enabled or is not connected to the driver station. |
|
#2
|
||||
|
||||
|
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:
Last edited by RyanCahoon : 10-10-2013 at 22:01. Reason: Removed some questions, add another |
|
#3
|
||||
|
||||
|
Re: Communication issues?
Quote:
Quote:
Quote:
Quote:
|
|
#4
|
||||
|
||||
|
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) |
|
#5
|
|||||
|
|||||
|
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 |
|
#6
|
||||
|
||||
|
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?
|
|
#7
|
||||
|
||||
|
Re: Communication issues?
Quote:
Quote:
What happens if you manually delete the existing .out file and rebuild? |
|
#8
|
||||
|
||||
|
Re: Communication issues?
Firstly, I'm glad that something is working properly :D You mean the *.out file in the IDE? The same thing happens when I delete it. I'm thinking I may need to FTP wipe the thing from the cRIO... I'm working on my FileZilla skills, but I haven't got a robot to test on at... 12:30am.... Thanks for the reply!
|
|
#9
|
||||
|
||||
|
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:
|
|
#10
|
|||||
|
|||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|