Go to Post this is robotics--everything is going to go wrong at some point, it's how we deal with it that counts - abigailthefox [more]
Home
Go Back   Chief Delphi > Technical > Programming
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-2015, 21:26
Orion.DeYoe Orion.DeYoe is offline
Registered User
FRC #5413 (Stellar Robotics)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2011
Location: North Fairfield, OH
Posts: 206
Orion.DeYoe is a splendid one to beholdOrion.DeYoe is a splendid one to beholdOrion.DeYoe is a splendid one to beholdOrion.DeYoe is a splendid one to beholdOrion.DeYoe is a splendid one to beholdOrion.DeYoe is a splendid one to beholdOrion.DeYoe is a splendid one to beholdOrion.DeYoe is a splendid one to behold
Connection Problem?

Turning testing we encountered a problem where the communications kept getting dropped between the robot and our driver station computer. The radio is in 2.4 mode connected directly to the laptop via wifi (i.e. not using a router).
After the robot disconnected it would reconnect after 30-60 seconds. We never lost the wifi "network" on the computer as far as I could tell.

We originally thought that the radio might have been browning out however we confirmed that the radio never loses power. We watched the lights on the radio as well as observed the network on the laptop. The issue seems to be between the rio and the radio. We tried swapping the cables.

It started doing it when we were driving over the scoring platform (with a lot of bumping around) so we thought that maybe something was coming loose. However after 4-8 lost connections it didn't seem to matter how much the robot was bumping around.

Normally I would assume that it's some software, firmware, or hardware issue on our end. However I have spoken to one other team who reported the same issue with no solution as of yet.

Is this behavior anyone else has noticed? Are there any proposed solutions? Might this require an email to FIRST?
__________________
Thanks for your time,
Orion DeYoe

FRC Team 2252 "The Mavericks" 2011-2014 (Student)
FRC Team 5413 "Stellar Robotics" 2014-???? (Mentor)

2011: Drive Coach, CAD, Programming, Electrical
2012: Drive Coach, Team Captain, Team Representative, CAD, Programming, Electrical
2013: Drive Coach, Team Captain, Team Representative, CAD, Programming, Electrical
2014: Drive Coach, Strategy, CAD
2015: Team Founder, Design/CAD Mentor, Drive Coach
  #2   Spotlight this post!  
Unread 25-01-2015, 21:39
crake crake is offline
National Instruments
AKA: Chris Rake
no team (Athena)
Team Role: Engineer
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 185
crake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond reputecrake has a reputation beyond repute
Re: Connection Problem?

Is your battery low and/or roboRIO browning out?
  #3   Spotlight this post!  
Unread 25-01-2015, 21:40
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Connection Problem?

There aren't any 2.4ghz wireless phones nearby, are there?

Do you have the same problem in 5Ghz mode?
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)
  #4   Spotlight this post!  
Unread 25-01-2015, 23:00
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Connection Problem?

What events does the Driver Station log show happening when the communication goes bad? It can usually distinguish between problems with the network and problems with the roboRIO.
  #5   Spotlight this post!  
Unread 25-01-2015, 23:19
Pretzel Pretzel is offline
Ex-Driver
AKA: Tyler
FRC #1619 (Up-A-Creek Robotics)
Team Role: Alumni
 
Join Date: Nov 2013
Rookie Year: 2012
Location: Colorado
Posts: 161
Pretzel is a splendid one to beholdPretzel is a splendid one to beholdPretzel is a splendid one to beholdPretzel is a splendid one to beholdPretzel is a splendid one to beholdPretzel is a splendid one to beholdPretzel is a splendid one to behold
Re: Connection Problem?

Team 1619 had a similar problem with our test chassis that we were able to solve, but it may have been a different cause than yours. Our robot kept losing communications, especially going over the bump, but we believed it to be a loss of power to the router since the D-Link light would turn red after we lost communications (as though it was rebooting). The computer never appeared to lose connection either, which was part of why we originally thought it was a computer or router problem.

We swapped routers and had the same issue, but found that swapping our Voltage Regulator Module solved the problem (at least until someone pulled a "Dukes of Hazzard" jump over the scoring platform and jostled the power connector free). Our best guess is that the one we had been using for testing was faulty, since it worked flawlessly after replacing it.
__________________
It's not done until it's overdone!
  #6   Spotlight this post!  
Unread 26-01-2015, 07:15
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,753
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: Connection Problem?

Please click on the Logs... button on the top of the driver station. It will bring up another utility that will show the voltage, CPU, and errors that were logged when your robot was connected to that DS.

Click through some of the logs where you saw this and see if you can determine what happened. If not, please post a screenshot or post the log files, both the .dsevents and .dslog.

Greg Mckaskle
  #7   Spotlight this post!  
Unread 26-01-2015, 08:59
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Connection Problem?

Try using a cable between your LAPTOP and the DLINK. If this doesn’t solve the issue, perhaps try a different DLINK?
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
  #8   Spotlight this post!  
Unread 27-01-2015, 18:00
agapedad agapedad is offline
Registered User
FRC #5413
 
Join Date: Jan 2015
Location: Mansfield, OH
Posts: 6
agapedad is an unknown quantity at this point
Re: Connection Problem?

Thanks for the input - this is the team I am working with as well.
The problem does not appear to be in the DLink...both lights remain blue when we lost communication.
We can run the robot, but when we hit the ramp, or jostle heavily it loses com.
We have replaced the ethernet cable, taped it into place, etc...driver station is showing an occasional brownout, but it doesn't seem to correspond with our times the robot loses com.

I will post the screenshots after tonight...unless someone has any other ideas. It really seems to be an issue inside the RoboRio.
  #9   Spotlight this post!  
Unread 27-01-2015, 19:12
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Connection Problem?

Quote:
Originally Posted by agapedad View Post
The problem does not appear to be in the DLink...both lights remain blue when we lost communication.
The lights don't necessarily indicate that you have a wireless connection. One indicates that the DLink has power, the other just indicates what the router is serving a wireless AP.

Quote:
Originally Posted by agapedad View Post
We have replaced the ethernet cable, taped it into place, etc...
Just to clarify, have you tried running teatherd between the LAPTOP and the DLINK?
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
  #10   Spotlight this post!  
Unread 27-01-2015, 19:52
agapedad agapedad is offline
Registered User
FRC #5413
 
Join Date: Jan 2015
Location: Mansfield, OH
Posts: 6
agapedad is an unknown quantity at this point
Re: Connection Problem?

Quote:
Originally Posted by timytamy View Post


Just to clarify, have you tried running teatherd between the LAPTOP and the DLINK?
Thanks - we can't run the robot around with it tethered. We only lose com when we are running around and jostling the robot.
Right this moment we are running fine with a piece of foam under the RoboRIO...we'll see if this continues.
  #11   Spotlight this post!  
Unread 28-01-2015, 00:39
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Connection Problem?

If you suspect that jarring the roboRIO is causing a problem, look closely at its power input wiring. Make absolutely certain that the screw terminals are tightly holding the conductors, and that there is no bare wire showing. Especially check that there are no "whiskers" of stranded wire that might have escaped the connector.
  #12   Spotlight this post!  
Unread 28-01-2015, 00:51
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: Connection Problem?

Quote:
Originally Posted by agapedad View Post
Thanks - we can't run the robot around with it tethered. We only lose com when we are running around and jostling the robot.
Right this moment we are running fine with a piece of foam under the RoboRIO...we'll see if this continues.
Just a side note.

I'd recommend you purchase a long (seriously, there's no such thing as too long) ethernet cable for use on the practice field, because you will be using the practice field.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
  #13   Spotlight this post!  
Unread 02-02-2015, 19:20
agapedad agapedad is offline
Registered User
FRC #5413
 
Join Date: Jan 2015
Location: Mansfield, OH
Posts: 6
agapedad is an unknown quantity at this point
Re: Connection Problem?

OK- so we put a piece of foam under the RoboRio and had no issues practicing all last week. Tonight we hit the wrong side of our practice scoring platform, and lost communication briefly. Now it is happening with jostling again.

We are able to communicate again fine after about 25 seconds without touching the robot. We have checked and re-checked all of our connections, and are not seeing any issues. We literally ran with no issues all last week, practicing every night!

Any other ideas
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 21:06.

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