Go to Post wait a minute...Dave posted a hint here yesterday. but no one has tried to analyze it word by word. has something changed since the kickoff??? - jerry w [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-03-2010, 01:15
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Control System Network Settings Conundrum

We have found out some problems and contradictions in the control system network in general. I'd like to set the record straight for how it's really supposed to be set up. Can you help us out?

First of all and long story short, we've been trying to connect to the router wirelessly. It's really helpful because you don't have to be tethered to it and indirectly a wall socket to power the router. Then your battery powered development computer and battery powered driver station can be used anywhere when connecting to the robot. This is possible because we've heard so, plus it has worked a little bit for us in the past and there are even instructions (in the Getting Started control system manual, #2).


One of our student members is an IT techie and with his help we got it working. We set up the wireless network settings on our computers to work with the router. These are basically the same as the wired settings. It worked ok, but we started getting problems and bugs and the whole thing wasn’t perfect since it was done manually. One of the biggest problems was that it wasn’t how FIRST tells us to set it up, so we didn’t know if it would conflict when we went to competitions.

Here’s the contradiction that we think is the issue:
The subnet masks of the different devices needed to be set a certain way, but the FIRST manuals were telling us differently. Our IT techie set them all to 255.255.255.0 (here on referred to as “having one zero/0” since that’s easier and faster to say. That's the way we've said it for simplicity). This is so that they match up with the router subnet mask, which is the same. However, FIRST tells us to set them all to 255.0.0.0 (“having 3 zeroes/0s”). The deal is that you can’t do this for the router because you select the subnet mask from a drop-down list. A 3 zero subnet mask is not an option. FIRST even tells us in the Getting Started manual to use the option with one zero and set everything else to 3 zeros.


So I researched the whole deal, went through the Getting Started manual, found what all the network settings should be for all the devices (IP address, subnet mask, etc), and reset it all back to normal the way FIRST tells us to. I put all this related information in the attached Word document. Then I tried using the instructions they give to set up wireless Classmate-router communication.

We tried it out on the robot. Wireless connection to the router did not work, so we switch to wired, which did. So we have been using wired until we figure this out.


So…
Can anyone explain the subnet mask contradiction? How should the whole thing really be set up? How can we connect to the router successfully?
I have a basic idea of IP addresses and subnet masks after working on the team as a committed programmer and working through all of this. However I don’t know much conceptually, which is exemplified by when I looked up subnet masks on Wikipedia and was swamped with technical terms. So bear with me if I don't understand everything.


Feel free to use my document for your own uses and for understanding this issue. We haven’t used it much on our team since we just made it, but I’d expect it to be a lot better than hunting down the information. We’ll use it to help remember what to set our computers back to after we hook them up to the internet, which requires one to set the network settings to “obtain and IP address automatically.”


Thanks for any and all of your help!!!
Attached Files
File Type: doc Network Settings for FRC Control System.doc (24.5 KB, 20 views)
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW

Last edited by RoboMaster : 03-03-2010 at 01:29.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-03-2010, 01:30
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Control System Network Settings Conundrum

You are not the first one to notice this difference. Although it is not a traditional configuration, 255.0.0.0 will work. Using this subnet mask will also allow the plethora of team numbers used in competition to work without problems.

Now, technically speaking, 10.x.x.x is a Class A address and the classic subnet mask for a Class A address scheme is 255.0.0.0.
A classic subnet mask for a Class C network is 255.255.255.0. When working at your home facility, triple 255.0 is perfectly fine. While at any competition you will want to use the 255.0.0.0.
So, just to make it simpler and easier to not forget to change the subnet mask, use the 255.0.0.0 all the time and you should have few if any problems.

BTW, the classmate PC only can use 803.11g. So, if you are using it in a wireless configuration, make sure you account for that in your configurations.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #3   Spotlight this post!  
Unread 03-03-2010, 01:39
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Control System Network Settings Conundrum

Thanks for your reply (and a quick one at that. don't you just love CD for that? )

Thanks, that's helpful and makes sense. I would agree to keep it the same all the time. Thanks for the tip too about the wireless speed.

But still, why weren't we able to get it working (perfectly) with both 255.255.255.0 and 255.0.0.0 + FIRST's instructions?
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
  #4   Spotlight this post!  
Unread 03-03-2010, 06:51
dmlawrence dmlawrence is offline
MIT '14
FRC #1751 (Warriors)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Long Island
Posts: 63
dmlawrence is an unknown quantity at this point
Re: Control System Network Settings Conundrum

Perhaps unrelated, but we were unable to use NetBeans on Ubuntu with the 255.255.255.0 subnet mask. Once that was changed to 255.0.0.0, NetBeans suddenly started working.
Reply With Quote
  #5   Spotlight this post!  
Unread 03-03-2010, 09:18
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,800
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: Control System Network Settings Conundrum

Quote:
Originally Posted by RoboMaster View Post
But still, why weren't we able to get it working (perfectly) with both 255.255.255.0 and 255.0.0.0 + FIRST's instructions?
Actually, from your description it sounds like you did get the subnet mask working. The subnet mask is no different on a wireless than on a wired connection and you got your wired connection working you said.

If there's a difference between your wired and wireless behavior, especially if the wireless cuts in and out, then look at the pure wireless settings, e.g., channel, frequency(2.5ghz/5ghz), bands (b/g/n).
Wireless flakeyness is often due to channel, frequence, or band conflicts with existing wireless devices and networks, especially if you enable DHCP on your router. DHCP lets the router hand out addresses to any random device that wanders by. We had some iTouch automatically connect and claim the Driver Station IP, because the router was mis-set to hand out addresses starting at .1
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 03-03-2010 at 09:31.
Reply With Quote
  #6   Spotlight this post!  
Unread 03-03-2010, 23:59
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Control System Network Settings Conundrum

Well, our connection wasn't intermittent when we tried to set wireless up manually. Sometimes it just wouldn't work when we hooked it up and we had to go back in and mess with stuff to make it happen. When I tried it with FIRST's instructions, it would simply connect to the router but not to the robot (connection light on DS was not lit). Could that still be a DHCP issue with our router? How could we switch that off?

EDIT: I looked in the Getting Started manual at some of the images of the router setup "web pages." There are settings for a DHCP Server in the Basic Setup tab (this is page 50). It is enabled by default. However, you are instructed to set the start address sufix to 10, so since that's significant it must be used. That makes it sound like you can't just disable it. However (again ) from the info in Mark's post, I would interpret this setting to mean that it gives out addresses starting with 10, which is above anything that is used in the control system. So then it wouldn't conflict and ultimately I'm headed down a dead end with this, right??
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW

Last edited by RoboMaster : 04-03-2010 at 00:10.
Reply With Quote
  #7   Spotlight this post!  
Unread 04-03-2010, 11:47
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,800
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: Control System Network Settings Conundrum

Since the router is not used at competition, you can really do whatever you want to it at home.

The Bridge on the robot gets completely reset at competition (and won't work with the router wirelessly there in any case), and the Classmate resets it's network connection everytime we start the Driver Station too, so as far as FIRST is concerned that portion of the Getting Started Manual is just a home aid.

The main use for setting it up at home is to make sure the Bridge works correctly over wireless, before you get to competition and find it's broken...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #8   Spotlight this post!  
Unread 04-03-2010, 20:26
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Control System Network Settings Conundrum

Quote:
Originally Posted by Mark McLeod View Post
Since the router is not used at competition, you can really do whatever you want to it at home.
Hmm, that makes sense. So then, how would we make it work at home? Set the computers' subnet masks to 255.255.255.0 ? Do we need to turn off DHCP on the router so that it works all the time, unlike before?
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
  #9   Spotlight this post!  
Unread 04-03-2010, 21:34
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,800
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: Control System Network Settings Conundrum

I keep DHCP turned off unless there's a reason I want additional PCs to automatically connect to the robot.

255.0.0.0 might be used if you plan on running more than one robot at a time, e.g., last year's and this year's robots together, or a neighboring teams robot at some joint demo.

255.255.255.0 is fine if you'll only be using a single robot.
__________________
"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

Similar Threads
Thread Thread Starter Forum Replies Last Post
2009 Control System, Larger S/W Development Network... diviney FRC Control System 2 29-12-2008 08:53
Control System wmatt2014 Control System 9 01-02-2008 09:56
Control System archiver 2000 0 23-06-2002 22:51
Future Control System archiver 1999 2 23-06-2002 22:22
control system archiver 2000 1 23-06-2002 22:04


All times are GMT -5. The time now is 23:21.

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