Go to Post This makes me want to squeal like the teenage girl I am. - ZipTie3182 [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 02-03-2015, 09:39
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Ethernet tethering at regionals

Now that our first regional is behind us (Palmetto), I was wondering about something.

I noticed that Ethernet tethering was hit and miss at the regional with the radio programmed for competition and set in bridge mode. We switched to USB, which I know why it was reliable (the driver assigns a 172 address). So I got to wondering, should we be able to tether over Ethernet? If so, where does the IP address come from? I noticed when it didn't work, it had an address that started with 169, which is an autoconfigutation address, so no DHCP server. How did it work over ethernet at all if it couldn't get an IP address?

Where does the IP address come from when the robot is connected to the FMS? Where is the DHCP server in that case?
__________________
Brian K
Team 1225 Robotics Mentor
  #2   Spotlight this post!  
Unread 02-03-2015, 09:44
ATannahill ATannahill is offline
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,258
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
Re: Ethernet tethering at regionals

When you connect to the field, the field AP will act as a DHCP server and dish out addresses.

When you are in the pit the driver station and roboRIO assign themselves a link local address when they cannot find a DHCP. The roboRIO sends out a mDNS notice saying that it is at what ever address it assigned itself and the driver station can receive and understand it to know how to talk to the roboRIO.
  #3   Spotlight this post!  
Unread 04-03-2015, 12:56
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,563
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: Ethernet tethering at regionals

There's more details here: http://wpilib.screenstepslive.com/s/...g-at-the-event
  #4   Spotlight this post!  
Unread 04-03-2015, 13:03
Ozuru's Avatar
Ozuru Ozuru is offline
It's always the programmer's fault.
no team
 
Join Date: May 2013
Rookie Year: 2010
Location: Earth
Posts: 268
Ozuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to behold
Re: Ethernet tethering at regionals

We had this exact issue at Hatboro-Horsham but I forgot about it until now. Thanks for posting.
  #5   Spotlight this post!  
Unread 04-03-2015, 13:07
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Ethernet tethering at regionals

Thanks guys. That explains things. I didn't realize at the event that the fallback 169 addresses will still allow things to communicate in the pits, and that any IP addresses obtained while on the field must be released. And of course, since the ip for the DAP is fixed, it cannot be pinged or accessed.
__________________
Brian K
Team 1225 Robotics Mentor
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 16:35.

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