Go to Post FIRST is nothing short of a community. - karinka13 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 25-01-2012, 16:40
mbram mbram is offline
Registered User
FRC #3502
 
Join Date: Jan 2011
Location: Florida
Posts: 11
mbram is an unknown quantity at this point
Communication Trouble

We are having trouble communicating with our robot. We can achieve communication and run code however after running for 3-4 seconds we lose both communication and code. We've checked our undercarriage and found no problems. We've tried from different computers and we have also reset everything several times. Does anyone here know what may be the problem?
  #2   Spotlight this post!  
Unread 25-01-2012, 16:49
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: Communication Trouble

Check the power connection of your cRIO. The cRIO could be restarting itself if there is nothing else wrong.
  #3   Spotlight this post!  
Unread 25-01-2012, 16:50
mbram mbram is offline
Registered User
FRC #3502
 
Join Date: Jan 2011
Location: Florida
Posts: 11
mbram is an unknown quantity at this point
Re: Communication Trouble

Alright, we'll do that right now, thanks.
  #4   Spotlight this post!  
Unread 25-01-2012, 17:44
jee7s jee7s is offline
Texan FIRSTer, ex-frc2789, ex-frc41
AKA: Jeffrey Erickson
FRC #6357
 
Join Date: Nov 2007
Rookie Year: 1997
Location: Dripping Springs, TX
Posts: 317
jee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond reputejee7s has a reputation beyond repute
Re: Communication Trouble

In the event the power connection isn't the cause...

This also sounds like it could be a watchdog expiration problem. Are you sure you are feeding the watchdog in your program?
__________________

2013 Alamo Regional Woodie Flowers Finalist Award Winner
2012 Texas Robot Roundup Volunteer of the Year
Texas Robot Roundup Planning Committee, 2012-present
FRC 6357 Mentor, 2016-
FRC 2789 Mentor, 2009-2016 -- 2 Golds, 2 Silvers, 8 Regional Elimination Appearances

FRC 41 Mentor 2007-2009
FLL Mentor 2006
FRC 619 Mentor 2002
FRC 41 Student 1998-2000
  #5   Spotlight this post!  
Unread 25-01-2012, 17:50
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,791
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Communication Trouble

A few other places to check...

Check the entire power path from the battery to the cRio. There should be no "wiggle" in any of the connections - the battery terminals, the terminals on the 120A breaker, or the terminals on the power distribution board. If any of those spots is loose, it can cause a high resistance which will reduce the power available to the robot, possible causing a cRio reset.

Also check your electrical isolation. The cRio should be completely isolated from the frame, as the case for the cRio is grounded. I've seen scenarios where the cRio appeared isolated when the robot was sitting there, but when moving it would bounce around a little bit, or the material it was mounted to would flex, and it would short to the frame. If anything else is shorted to your frame (like a 775 from last year, or a wire someone accidentally caught under the head of a bolt), you can cause power issues that will cause a reset.
  #6   Spotlight this post!  
Unread 26-01-2012, 12:45
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Communication Trouble

Quote:
Originally Posted by jee7s View Post
In the event the power connection isn't the cause...

This also sounds like it could be a watchdog expiration problem. Are you sure you are feeding the watchdog in your program?
Unless you have a specific need for it, there should be no reason to feed the watchdog in your code. This necessity was removed last year and now this is taken care of by the WPI Library functions themselves. This is true for Labview but I'm not sure of other programming languages (but I bet it is).

Can you describe the exact situation of how you lose communication? Does it happen after driving/moving the robot? Do you ever get to enable the robot? Does it happen when you Download and/or Deploy? Do you get any messages on the Diagnostics panel? Does it happen on wireless and wired connections? After this happens are you still able to ping the cRIO and/or the radio?

I'm not 100% sure here, but I think that if you are getting the "No Communications" red light that means your radio has lost connection, and should be independent of the cRIO (i.e. not a power connection problem on the cRIO).
__________________
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


All times are GMT -5. The time now is 02:14.

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