Go to Post ...never do something because it is comfortable, do something because you WANT to do it. - Andrew Schreiber [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 11-10-2013, 07:51
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Communication issues?

The messages you post are not all that unusual. I can help interpret some of it.

Quote:
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.
This means that calls to read and control the Cypress I/O board failed. This often isn't an issue, but if you expected it to work, the message helps verify that there was an issue.

Quote:
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.
This means what it says. While the robot was enabled, a joystick was disconnected or stopped working. If you didn't physically disconnect it, this message indicates that power management, static electricity, or cabling is causing you to lose the joysticks.

Quote:
WARNING <Code> 44007 occurred at FRC_NetworkCommunications <secondsSinceReboot> 104.262
Warning <Code> 44001 occurred at No Change to Network Configuration: "Ethernet"<noNICConfig>
Messages like this are normal and tell us how long the cRIO had been up before it was connected to the DS and that the DS didn't need to change the network config for "Ethernet".

Quote:
WARNING <Code> 44008 occurred at FRC_NetworkCommunications <radioLostEvents> 102.504 <radioSeenEvents>
FRC: Robot radio detection times.
This one indicates that the radio was rebooted and some details that matter sometimes.

Quote:
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.
This message is produced anytime that a ping to a device changes.

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
Reply With Quote
  #2   Spotlight this post!  
Unread 12-10-2013, 13:46
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
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?
Reply With Quote
  #3   Spotlight this post!  
Unread 13-10-2013, 02:05
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Communication issues?

Quote:
Originally Posted by ekapalka View Post
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.
Sounds right. I'm pretty sure this is a program issue, and not a comm issue.

Quote:
Originally Posted by ekapalka View Post
Soo... we can't print any information to the Driver Station or Netconsole.... 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?
Double-check your build log to see if there are any errors. Completely different IDE and everything, but I've seen Visual Studio get into weird states where it will report permission errors and won't overwrite its old build files.

What happens if you manually delete the existing .out file and rebuild?
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #4   Spotlight this post!  
Unread 13-10-2013, 02:34
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Re: Communication issues?

Quote:
Originally Posted by RyanCahoon View Post
Sounds right.
[...]
What happens if you manually delete the existing .out file and rebuild?
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!
Reply With Quote
  #5   Spotlight this post!  
Unread 15-10-2013, 10:26
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
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:
Any red modules are either missing or not installed in the correct slot
...so does that mean we burnt out or damaged the module? Thanks!
Reply With Quote
  #6   Spotlight this post!  
Unread 15-10-2013, 10:29
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,830
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
Reply


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


All times are GMT -5. The time now is 05:28.

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