Go to Post The trick is to train the rest of the team to blame electrical instead. - Al3+ [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 11-12-2014, 23:45
Merfoo's Avatar
Merfoo Merfoo is offline
Registered User
FRC #0955 (CV Robotics)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: America
Posts: 48
Merfoo is an unknown quantity at this point
Router Connection Problem

Our router keeps dropping packets. We have tested with 2.4 and 5 gHz and followed FRC router configuration guidelines with the FRC bridge configuration tool and manually. We connected the driver station directly to the cRio which worked. We alos connected the driver station to the router and then that to the cRio, which also worked. We have tested with multiple ethernet cables, computers, routers, and cRios, and also reinstalled wireless drivers. We used a 5gHz dongle which also didn't work. We have ran out of ideas to fix this problem any help would be appreciated.
  #2   Spotlight this post!  
Unread 11-12-2014, 23:57
markmcgary's Avatar
markmcgary markmcgary is offline
Software Mentor
FRC #4322 (Clockwork Oranges)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Fullerton, CA
Posts: 179
markmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nice
Re: Router Connection Problem

Quote:
Originally Posted by Merfoo View Post
Our router keeps dropping packets.
How do you know that?
  #3   Spotlight this post!  
Unread 12-12-2014, 00:00
Whippet's Avatar
Whippet Whippet is offline
MIT Class of 2020
AKA: Luis Trueba
FRC #4301 (New Tech Narcissists)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cambridge, MA
Posts: 1,187
Whippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond repute
Send a message via Yahoo to Whippet
Re: Router Connection Problem

Quote:
Originally Posted by markmcgary View Post
How do you know that?
I would guess through the "charts" tab of the driver station application, which displays the number of lost packets, battery voltage, and cRIO CPU usage.
__________________
2010: FRC 3043, Build Assistant
2011: FRC 3043, Head of Minibot subteam; FLL 12762, Team Captain
2012: FRC 3043, Electrical; FLL 12762, Team Captain; FTC 5670, Team Captain
2013: FRC 4301, Electrical, Team Co-Captain
2014: FRC 4301, Electrical/Programming, Team Co-Captain
2015: FRC 4301, Electrical/Programming, Team Captain
2016: FRC 4301, Chief Technical Officer; FTC 10860, 10861, and 11004: Mentor. Winner, Hub City Regional (3310 & 4063)
  #4   Spotlight this post!  
Unread 12-12-2014, 00:05
markmcgary's Avatar
markmcgary markmcgary is offline
Software Mentor
FRC #4322 (Clockwork Oranges)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Fullerton, CA
Posts: 179
markmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nicemarkmcgary is just really nice
Re: Router Connection Problem

Quote:
Originally Posted by Whippet View Post
I would guess through the "charts" tab of the driver station application, which displays the number of lost packets, battery voltage, and cRIO CPU usage.
Are you having problems controlling the robot through WiFi? Or, are you just concerned about dropped packets being reported on the charts tab?
  #5   Spotlight this post!  
Unread 12-12-2014, 00:24
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: Router Connection Problem

I'm inferring from your description that everything is fine until you try to make a wireless connection from your Driver Station computer to the robot. Is that an accurate interpretation?

Are you using the D-Link router on the robot? Where is it mounted? Do you have it far from any causes of interference, like a big chunk of metal or a motor or a speed controller?

The 12v-to-5v converter is a large source of radio interference. It's convenient and obvious to mount it right against the router itself, but it's also very very bad.
  #6   Spotlight this post!  
Unread 12-12-2014, 00:35
Merfoo's Avatar
Merfoo Merfoo is offline
Registered User
FRC #0955 (CV Robotics)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: America
Posts: 48
Merfoo is an unknown quantity at this point
Re: Router Connection Problem

When trying to connect to the router wireless from the driver station no matter where the router is placed we get communication to the robot and then lose it constantly. The connection is never steady.
  #7   Spotlight this post!  
Unread 12-12-2014, 01:06
feverittm's Avatar
feverittm feverittm is offline
Registered User
FRC #0997 (Spartans)
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Corvallis, OR
Posts: 124
feverittm will become famous soon enoughfeverittm will become famous soon enough
Re: Router Connection Problem

Given we are in the same school district, I think I might have an idea

I have heard from the IT techs that they installed quite a few more access points around CHS this past summer and it absolutely flooded our WiFi. We moved to another place in the school and were able to connect just fine. I would guess that it is possible that CV is the same. This was especially true in the shop area.

Find someone that has a WiFi scanner on their phone and have them check the signal strength in the area. I would also try moving the robot to another area in the school (try the Cafeteria) and see if the connection is any more stable.

Good Luck!
__________________
Floyd Moore
Mentor Electrical and Pneumatics
Team 997 - Spartan Robotics
Corvallis High School, Corvallis Oregon
  #8   Spotlight this post!  
Unread 12-12-2014, 01:09
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: Router Connection Problem

Try using a wifi sniffer, such as inSSIDer to figure out how busy your area is.
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
  #9   Spotlight this post!  
Unread 12-12-2014, 01:11
Dunngeon Dunngeon is offline
Pumped
AKA: Ryan
FRC #0973 (Greybots)
Team Role: College Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Cal Poly San Luis Obispo
Posts: 299
Dunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond repute
Re: Router Connection Problem

Essentially our problem is this.

Perfect comm over ethernet, everything works perfectly.

Attempt Wifi connection, nothing. When we try to ping (CMD) either the router, the Crio or the connecting computer we get a response between 50% (best so far) and 0%. That is the percentage of packets that aren't dropped.

So far, we have
  • Bought new routers
  • Reconfigured 4 different routers
  • Reflashed cRio
  • Tried 3 different cRio
  • Bought a USB network card that can connect on 5Ghz

We only get comms when the occasional packet gets through, never enough to actually see the robot code light go green (over wifi)\

We have tried pinging 10.9.55.1 (router)
10.9.55.2
10.9.55.5 (computer static ip)


Another note is that our robot from last year, which worked then, no longer works and experiences these same issues over wifi.......

We tried 3 different laptops with different wifi cards to no avail...... We even bought a Linksys N600 USB adapter, which ususally fixes interference issues and it didn't help at all.


Help would be appreciated

Quote:
Originally Posted by feverittm View Post
Given we are in the same school district, I think I might have an idea

I have heard from the IT techs that they installed quite a few more access points around CHS this past summer and it absolutely flooded our WiFi. We moved to another place in the school and were able to connect just fine. I would guess that it is possible that CV is the same. This was especially true in the shop area.

Find someone that has a WiFi scanner on their phone and have them check the signal strength in the area. I would also try moving the robot to another area in the school (try the Cafeteria) and see if the connection is any more stable.

Good Luck!
We've tried the wifi sniffer, and we agree it is flooded..... 8 different networks exist at strengths of 30db or stronger across all channels.
This is why we tried the 5ghz band with the wireless usb card. Then we noticed long range comms suck....... so we put router and laptop next to each-other. It improved for a bit, then worsened. I also took one of the routers home, and I'll be playing with it once I finish my homework to see if the comms improved.

Our shop could be pretty noisy actually......... We have routers in nearly all the classrooms now and they are arrayed around the shop.... I'll grab a wifi sniffer and take a look in the shop tomorrow, since we only tested it in the classrooms
__________________
(2015-?): 973
(2012-2015): 955

Last edited by Dunngeon : 12-12-2014 at 01:22.
  #10   Spotlight this post!  
Unread 12-12-2014, 01:25
icecube45's Avatar
icecube45 icecube45 is offline
Drive|Programming|Captain
FRC #0114 (Eaglestrike)
Team Role: Driver
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Los Altos
Posts: 30
icecube45 is a jewel in the roughicecube45 is a jewel in the roughicecube45 is a jewel in the roughicecube45 is a jewel in the rough
Re: Router Connection Problem

This happened to us last year, and as others above me have stated, it was due to our wifi being flooded... I wish I had a picture of the rainbow from the scan, it was a mess. It was so bad that our school's wifi access points were flooding themselves..
  #11   Spotlight this post!  
Unread 12-12-2014, 01:46
Dunngeon Dunngeon is offline
Pumped
AKA: Ryan
FRC #0973 (Greybots)
Team Role: College Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Cal Poly San Luis Obispo
Posts: 299
Dunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond repute
Re: Router Connection Problem

Quote:
Originally Posted by icecube45 View Post
This happened to us last year, and as others above me have stated, it was due to our wifi being flooded... I wish I had a picture of the rainbow from the scan, it was a mess. It was so bad that our school's wifi access points were flooding themselves..
Bad enough to where everyone on wifi experienced slow browser loading? I'm pretty sure this is the problem, since it explains why our wifi (phones, tablets and robots) is so slow compared to the actual network speed.
__________________
(2015-?): 973
(2012-2015): 955
  #12   Spotlight this post!  
Unread 12-12-2014, 11:15
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: Router Connection Problem

Check with the people who run the school's networking. It's possible that there is something enabled that actively tries to shut down what it detects as "rogue" access points.

You might try setting up the robot's D-Link as a bridge, and connect both it and the Driver Station computer to the school network. Depending on what security is set up, and whether or not you end up on the same school AP, it should work.
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 03:02.

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