View Single Post
  #13   Spotlight this post!  
Unread 10-02-2015, 14:17
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 92
Crossle86 is an unknown quantity at this point
Re: Driver Station fails to reconnect after power off

Sorry, again I missed your second post. The issue is how the DS determines the roboRIO address and when it does it. As I understand it, the DS does a local network query with mDNS protocol and the rio should respond with its IP address as assigned to the rio by the router with dhcp. The DS then connects that that ip address.

The Eclipse build scripts do this and if the connection fails, it falls back to trying USB connect and then direct ip address using the standard scheme.

So if the DS were to do this, that is detect if mDNS fails to deliver an address or the connection to the mDNS address fails, then use a static ip, that would be good.

I think the key is how the DS detects that the rio is back online and that it should reconnect. Is it polling the network or using some other scheme? And does it mDNS again or use a cached ip address?
Reply With Quote