Go to Post it's called the Mars Rock automode (you sit there and wait for Opportunity to come along). - EricH [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: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 23-01-2010, 16:35
Matt2081's Avatar
Matt2081 Matt2081 is offline
Software Mentor, Alumn
AKA: Matt Birkel
FRC #2081 (Icarus)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2005
Location: Peoria, IL
Posts: 27
Matt2081 is on a distinguished road
Wireless Connection Problem

I set up our wireless bridge and wireless router following all the instructions in section 2.10 of the control system manual. Everything worked great, until I went to test the wireless connection. When I unplugged the bridge from the router (but kept the classmate plugged into the router) and tried to access the bridge using a web browser and entering "http://10.20.81.1", it was unable to connect. I am also unable to deploy programs through wireless. I'm not sure what I've done wrong. I've tried different static IP settings on the classmate (including 10.20.81.5, 10.20.81.10, and 10.20.81.6), but none of them allowed me to wirelessly connect to the bridge. Any ideas?
__________________

-------------------------------------------------------------------
2011 Boilermaker Regional Winner
2011 Boilermaker Motorola Quality Award Winner
2010 Boilermaker Regional Finalist
2009 Boilermaker General Motors Industrial Design Award Winner
2008 Boilermaker Engineering Inspiration Award Winner
2007 Boilermaker Rookie All-Star Award Winner
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2010, 21:14
Andy A. Andy A. is offline
Getting old
FRC #0095
Team Role: Coach
 
Join Date: Jun 2001
Rookie Year: 2001
Location: New Hampshire
Posts: 1,015
Andy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond repute
Re: Wireless Connection Problem

Matt-

I'm having the same problem. I don't know if the cause is the same, but I am confident that I have all the correct IP, mask, etc. settings correct. When plugged in the gaming adapter is perfectly accessible. When disconnected it simply will not connect wirelessly no matter how nicely I ask it. The wifi status light just blinks away.

any ideas anyone?
Reply With Quote
  #3   Spotlight this post!  
Unread 23-01-2010, 21:17
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Wireless Connection Problem

Can you ping the bridge (10.xx.yy.1)? For some strange reason, when we do that, comms resume.
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
Reply With Quote
  #4   Spotlight this post!  
Unread 23-01-2010, 21:24
Andy A. Andy A. is offline
Getting old
FRC #0095
Team Role: Coach
 
Join Date: Jun 2001
Rookie Year: 2001
Location: New Hampshire
Posts: 1,015
Andy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond repute
Re: Wireless Connection Problem

Quote:
Originally Posted by Jon236 View Post
Can you ping the bridge (10.xx.yy.1)? For some strange reason, when we do that, comms resume.
No, unless the adapter is plugged in it has no communication with the router. If it is plugged in, it is pingable and we can log into it with the 10.xx.xx.1 ip. If not plugged in it never joins the wireless network, despite having the correct gateway and ssid, gateway etc. settings.
Reply With Quote
  #5   Spotlight this post!  
Unread 23-01-2010, 21:27
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: Wireless Connection Problem

There is a thread about boot order of the cRIO and wifi bridge. If this problem occurs with a cold boot of the entire program, but resolves when the cRIO is rebooted while the bridge stays up, then it is now relatively well understood, and a workaround for the bridge behavior will be released pretty soon.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 23-01-2010, 21:40
Andy A. Andy A. is offline
Getting old
FRC #0095
Team Role: Coach
 
Join Date: Jun 2001
Rookie Year: 2001
Location: New Hampshire
Posts: 1,015
Andy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond repute
Re: Wireless Connection Problem

Quote:
Originally Posted by Greg McKaskle View Post
There is a thread about boot order of the cRIO and wifi bridge. If this problem occurs with a cold boot of the entire program, but resolves when the cRIO is rebooted while the bridge stays up, then it is now relatively well understood, and a workaround for the bridge behavior will be released pretty soon.

Greg McKaskle
Could you point me towards that thread? I've searched but I've been unable to find it.

If it's any help, I've been unable to connect wirelessly to the router with any laptop, as well.
Reply With Quote
  #7   Spotlight this post!  
Unread 23-01-2010, 22:09
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,576
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Wireless Connection Problem

Quote:
Originally Posted by Andy A. View Post
Matt-

I'm having the same problem. I don't know if the cause is the same, but I am confident that I have all the correct IP, mask, etc. settings correct. When plugged in the gaming adapter is perfectly accessible. When disconnected it simply will not connect wirelessly no matter how nicely I ask it. The wifi status light just blinks away.
Since it communicates wired, that confirms the correct IP and netmask settings. It does not confirm the correct wireless settings. Verify the wireless settings on both the bridge and the router.

If you still have trouble, post screenshots of all the settings pages, and maybe someone else can spot the problem.
Reply With Quote
  #8   Spotlight this post!  
Unread 23-01-2010, 22:10
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,576
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Wireless Connection Problem

Quote:
Originally Posted by Andy A. View Post
Could you point me towards that thread? I've searched but I've been unable to find it.
http://decibel.ni.com/content/thread/5712
Reply With Quote
  #9   Spotlight this post!  
Unread 23-01-2010, 23:34
Andy A. Andy A. is offline
Getting old
FRC #0095
Team Role: Coach
 
Join Date: Jun 2001
Rookie Year: 2001
Location: New Hampshire
Posts: 1,015
Andy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond repute
Re: Wireless Connection Problem

Quote:
Originally Posted by Joe Ross View Post
Since it communicates wired, that confirms the correct IP and netmask settings. It does not confirm the correct wireless settings. Verify the wireless settings on both the bridge and the router.

If you still have trouble, post screenshots of all the settings pages, and maybe someone else can spot the problem.
After resetting everything to default and going back through I found the problem. I have a wrt160N router, which is 2.4ghz only, not 5.0. After setting the Gaming Adapter to look for 2.4ghz, it worked right away. Guess I should have looked at the part number a little closer.
Reply With Quote
  #10   Spotlight this post!  
Unread 24-01-2010, 12:05
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,047
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: Wireless Connection Problem

Quote:
Originally Posted by Andy A. View Post
After resetting everything to default and going back through I found the problem. I have a wrt160N router, which is 2.4ghz only, not 5.0. After setting the Gaming Adapter to look for 2.4ghz, it worked right away. Guess I should have looked at the part number a little closer.

A local rookie team was also struggling with this yesterday - they received the WRT160N router as part of their kit. They followed Chapter 2 of the control system manual. The problem is, they overlooked the part where the 160N is 2.4 GHz only. This requires a change to the WGA600N wireless bridge settings.

They are correctly instructed to set the WGA600N robot radio to 2.4 GHz on Page 46, instruction 8-a, of Chapter 2, but this mention is not prominently indicated relative to the rest of the instructions. There is no highlighted screenshot indicating this difference. There is no rookie-specific subsection which highlights this important difference. As has been proven by several different otherwise-methodical groups of people following the correct directions, the note is easy to overlook, and time has been unnecessarily wasted because of it.

I'd request that Chapter 2 of the manual be revised to make this 2.4 GHz rookie setting stand out more clearly. At least put it in boldface type! <- I bet this stood out when you read this post.
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner

Last edited by Travis Hoffman : 24-01-2010 at 12:08.
Reply With Quote
  #11   Spotlight this post!  
Unread 25-01-2010, 15:57
Blackphantom91's Avatar
Blackphantom91 Blackphantom91 is offline
Mentor + 4 = Stuck For Life
AKA: Malcolm Stirckland
FRC #1986 (Team Titanium)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Kansas City
Posts: 232
Blackphantom91 has a spectacular aura aboutBlackphantom91 has a spectacular aura aboutBlackphantom91 has a spectacular aura about
Re: Wireless Connection Problem

Have you tried reseting the router? and bridge if so then test the integrity of the cable it may have shorted.
__________________
[img*]http://i.imgur.com/Os2oTET.jpg[/img*]
Reply With Quote
  #12   Spotlight this post!  
Unread 26-01-2010, 19:39
Matt2081's Avatar
Matt2081 Matt2081 is offline
Software Mentor, Alumn
AKA: Matt Birkel
FRC #2081 (Icarus)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2005
Location: Peoria, IL
Posts: 27
Matt2081 is on a distinguished road
Re: Wireless Connection Problem

Thanks for all the suggestions. We ended up trying to get it to work all last night, and it finally worked right before we left. We reset both the router and gaming adapter to factory defaults 4 times, then followed the instructions in chapter 2 each time. I'm almost certain we did nothing different, but it just happened to work on the fourth time

We did run a power cycle of the router and gaming adapter before our last attempt, but I'm not sure if this is the reason why it worked since this wasn't our first power cycle. We waited for the router to fully reboot, though, before turning the gaming adapter back on.

Hopefully this is helpful to someone.

One last problem we were having: when we tried to connect the classmate wirelessly to the router (following chapter 2), the router's network didn't show up in the list of available wireless networks. I'm not sure what the problem is, does anyone have any ideas?
__________________

-------------------------------------------------------------------
2011 Boilermaker Regional Winner
2011 Boilermaker Motorola Quality Award Winner
2010 Boilermaker Regional Finalist
2009 Boilermaker General Motors Industrial Design Award Winner
2008 Boilermaker Engineering Inspiration Award Winner
2007 Boilermaker Rookie All-Star Award Winner
Reply With Quote
  #13   Spotlight this post!  
Unread 26-01-2010, 21:13
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: Wireless Connection Problem

Quote:
Originally Posted by matt2081 View Post
One last problem we were having: when we tried to connect the classmate wirelessly to the router (following chapter 2), the router's network didn't show up in the list of available wireless networks. I'm not sure what the problem is, does anyone have any ideas?
The router is probably configured according to the instructions to use only the 5 GHz frequency band. The Classmate is only capable of communicating on the 2.4 GHz band.
Reply With Quote
  #14   Spotlight this post!  
Unread 28-01-2010, 09:15
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,047
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: Wireless Connection Problem

Here's a fun one to ponder:

So the rookie team I mentioned earlier was still having trouble getting their wireless to link up even after changing to the 2.4 GHz setting on the bridge. Everything was configured exactly as intended, verified by me, but the system still wouldn't link up. So I set their bridge and router aside.

I took Team 48's router and bridge from last year - only the boxes - no cables or anything else - and connected them to the rookie team's kitbot and Classmate and such, using their cables. I reconfigured 48's hardware with the rookie team's IP's - wireless communication picked right up - no problems. Could ping the cRIO. Downloaded default program. Vision camera was transmitting images. Good stuff.

Now, after this, I individually reintroduced the rookie's gaming bridge and router into this system, such that a 48 device was talking to a rookie device each time. I expected at least one of the rookie devices to not work, based on the fact they never worked together, but guess what? Both devices worked. Weird. So I finally said what the heck, and connected both rookie devices back to their robot and Classmate. Instant wireless communication, vision camera pictures on the dashboard, no problems whatsoever. Other than unplugging and plugging the rookie devices, no other changes were made to their router and bridge between the time the devices wouldn't talk wirelessly and the time they would.

Maybe the rookie router/bridge needed to "learn" from the veteran router/ bridge how to do things the right way before they could stand alone and work on their own? Network device mentoring...awwwwww.
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner
Reply With Quote
  #15   Spotlight this post!  
Unread 28-01-2010, 12:05
Andy A. Andy A. is offline
Getting old
FRC #0095
Team Role: Coach
 
Join Date: Jun 2001
Rookie Year: 2001
Location: New Hampshire
Posts: 1,015
Andy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond reputeAndy A. has a reputation beyond repute
Re: Wireless Connection Problem

Quote:
Originally Posted by Travis Hoffman View Post
Here's a fun one to ponder:

...

Maybe the rookie router/bridge needed to "learn" from the veteran router/ bridge how to do things the right way before they could stand alone and work on their own? Network device mentoring...awwwwww.
I have never experienced a wireless network setup that was as easy as it was billed to be. There is always something not configured correctly, requiring a reset or animal sacrifice. More often then not I have no idea what was wrong or how it got corrected.

Needless to say, I was not impressed when the new communications gear came out. I'm actually not really impressed with the whole cRio based control system, or the inclusion of a laptop on the OI, but hey... I'll always be a child of the pBasic IFI days. I really pine for those simpler times, when I actually understood what every component of the control system did, and could tell them apart. These days I can't keep all the sidecars, breakout boards, modules, wireless dohickies, communication buses and speed controllers straight.

Heck, there are even three or four different voltages on the robot now! Back in my day we only had 12 volts to work with and we liked it that way. The really sneaky teams could get a few milliamps of 5v's, and talk to the controller with a photoresistor and a program set to blink an LED.

I feel like a dinosaur, wondering what happened to his beloved van door motors.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless Connection issues techplex Technical Discussion 16 05-04-2010 01:13
Wireless Connection Problem jaustin FRC Control System 18 18-01-2009 13:41
USB DAQ Wireless connection? StevenB National Instruments LabVIEW and Data Acquisition 1 01-01-2006 03:49
Wireless Connection on Pocket PC - AEGIS and Odyssey sanddrag IT / Communications 2 07-01-2005 15:51


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

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