Go to Post Oh, you mean the refs. The only hand signal I've seen the judges use is the hi-five. - RoboMom [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2014, 18:58
kd8rgp's Avatar
kd8rgp kd8rgp is offline
Registered User
AKA: Alec Hitchiner
FRC #1076 (PiHi Samurai)
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 2
kd8rgp is an unknown quantity at this point
Angry Using the driver station in a virtual machine

I am currently having issues with the driver station. I run Linux on all my machines, so I'm running the driver station from a windows 7 VM in Virtualbox. Unfortunately, the driver station is failing to connect to the robot at all. FYI, I am running the VM network in NAT mode, BRIDGED IS NOT AN OPTION.

Mostly, my question is: How do you get the driver station to work through a nat?
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2014, 19:31
irvingc irvingc is offline
Registered User
FRC #0948 (Newport Robotics Group)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2011
Location: Bellevue, WA
Posts: 31
irvingc is on a distinguished road
Re: Using the driver station in a virtual machine

Quote:
Originally Posted by kd8rgp View Post
I am currently having issues with the driver station. I run Linux on all my machines, so I'm running the driver station from a windows 7 VM in Virtualbox. Unfortunately, the driver station is failing to connect to the robot at all. FYI, I am running the VM network in NAT mode, BRIDGED IS NOT AN OPTION.

Mostly, my question is: How do you get the driver station to work through a nat?
You probably can't. The driver station and robot are supposed to be on the same subnet. You might be able to get a 255.255.255.252 subnet mask to work with some wonky NAT settings (robot is 10.XX.XX.2 -> 10.XX.XX.0/30, and DS is .5 or .6 -> 10.XX.XX.4/30), but getting the network configuration just right seems like much more trouble than running it through Wine, finding another laptop (any old laptop will do), or dual-booting.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2014, 19:33
Nirvash's Avatar
Nirvash Nirvash is offline
Registered User
AKA: Bryan
FRC #4676
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Orland Park, IL
Posts: 221
Nirvash has a spectacular aura aboutNirvash has a spectacular aura about
Why is bridged not an option?
__________________
Team 3488 - Electrical Lead/Programming Lead 2011-2013
Team 4676 - Electrical/Programming Mentor 2013-Present
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2014, 20:06
kd8rgp's Avatar
kd8rgp kd8rgp is offline
Registered User
AKA: Alec Hitchiner
FRC #1076 (PiHi Samurai)
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 2
kd8rgp is an unknown quantity at this point
Re: Using the driver station in a virtual machine

Quote:
Originally Posted by Nirvash View Post
Why is bridged not an option?
Kernel Issues
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2014, 09:10
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,748
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: Using the driver station in a virtual machine

The DS uses UDP for all communication and ICMP for diagnostic pings. The dashboard, if using camera or smart dashboard will use TCP as well.

If your NAT'd address is routable to the subnet of the DS and robot, I'd imagine this will work. But NAT implementations vary quite a lot and you are rather customized here. I hope this isn't what you were going to use for your competition DS.

Greg McKaskle
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


All times are GMT -5. The time now is 03:42.

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