Go to Post "I don't have a cockroach in my presentation.... " I will remember this line forever. Thank you Autodesk. - Zyik [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 17-11-2013, 17:09
Philip Arola's Avatar
Philip Arola Philip Arola is offline
You can check out any time you like
AKA: KG7VAM
FRC #2898 (The Flying Hedgehogs), FRC #1510 (Wildcats)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Beaverton, Oregon
Posts: 83
Philip Arola is an unknown quantity at this point
Re: Running a VMware Player Virtual Machine to run a Driver Station

I worked it out.
I bridged the 2 VMware adapters and the WiFi adapters in the Windows Network manager on the host, set the bridge IP and DNS as I would the WiFi adapter, and set the Virtual Ethernet adapter in the guest to the same IP and DNS.
The host Driver Station doesn't work in this config (it works without the bridge), but the VM runs it fine.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-01-2014, 07:01
abrightwell abrightwell is offline
Lead Software Engineer
FRC #0342 (Burning Magnetos)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Charleston, SC
Posts: 20
abrightwell is an unknown quantity at this point
Re: Running a VMware Player Virtual Machine to run a Driver Station

I have the Classmate E12 2014 developer and driver station image running in VirtualBox (see picture). Essentially, through some Windows PE madness I was able to do so, but it wasn't "easy" to figure out. There are a number of reasons that I wanted it in a VM, most of which I wanted a develop in a *nix environment and test the robot with minimum hardware and effort. What is important to note though, is that we will not use a VM for competition. I don't even think that would be smart for performance, but probably too complicated due to the networking with the FMS. As usual we will use a standalone laptop solely dedicated to the purpose of being a driver station. At any rate, it was a fun exercise and I now have my test machine.

Reply With Quote
  #3   Spotlight this post!  
Unread 07-01-2014, 15:27
NotInControl NotInControl is offline
Controls Engineer
AKA: Kevin
FRC #2168 (Aluminum Falcons)
Team Role: Engineer
 
Join Date: Oct 2011
Rookie Year: 2004
Location: Groton, CT
Posts: 261
NotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond repute
Re: Running a VMware Player Virtual Machine to run a Driver Station

You should make sure that you uninstall the driverstation from the host computer so that it doesn't cause IP conflicts if opened.

The driverstation has an option to modify your IP address automatically by default to change it to the 10.TE.AM.5 IP address required.

Doing this on the host and VM computer will cause conflicts.

Also I would recommend only using the VM Driver Station for testing purposes only, and not as your competition driver station. You should have a dedicated driver station propoerly configured to run natively on the hardware for competition and matches.
__________________
Controls Engineer, Team 2168 - The Aluminum Falcons
[2016 Season] - World Championship Controls Award, District Controls Award, 3rd BlueBanner
-World Championship- #45 seed in Quals, World Championship Innovation in Controls Award - Curie
-NE Championship- #26 seed in Quals, winner(195,125,2168)
[2015 Season] - NE Championship Controls Award, 2nd Blue Banner
-NE Championship- #26 seed in Quals, NE Championship Innovation in Controls Award
-MA District Event- #17 seed in Quals, Winner(2168,3718,3146)
[2014 Season] - NE Championship Controls Award & Semi-finalists, District Controls Award, Creativity Award, & Finalists
-NE Championship- #36 seed in Quals, SemiFinalist(228,2168,3525), NE Championship Innovation in Controls Award
-RI District Event- #7 seed in Quals, Finalist(1519,2168,5163), Innovation in Controls Award
-Groton District Event- #9 seed in Quals, QuarterFinalist(2168, 125, 5112), Creativity Award
[2013 Season] - WPI Regional Winner - 1st Blue Banner
Reply With Quote
  #4   Spotlight this post!  
Unread 07-01-2014, 16:49
defied defied is offline
Registered User
FRC #2557
 
Join Date: Jan 2014
Location: Tacoma, WA
Posts: 23
defied is an unknown quantity at this point
Re: Running a VMware Player Virtual Machine to run a Driver Station

Some things to watch out for:

I work primarily with ESX and ESXi, so I don't know if workstation has this, but ensure USB passthrough is enabled, so the Virtual can access the controllers.

If you use bridging, the field may authenticate the traffic packet based on MAC address, and if the VM interface MAC is encapsulated in the payload, but the Physical MAC's interface is registered as sending the packet, the field radio could reject/drop those packets. I think this is highly unlikely, as the field network last year was a simple configuration.

The same applies if you are using NAT'ting, except replace everywhere I said MAC with IP address. Because different organizations have produces all of these different items at a nearly free to FIRST level, I HIGHLY doubt this is integrated in to the Field.

Those are the big ones I can really think of.
Make sure you have vmtools installed so as to optimize your video, and virtual hardware to hardware mapping.

Hope this helps, and let me know if you have nay other questions.
D
Reply With Quote
  #5   Spotlight this post!  
Unread 07-01-2014, 18:52
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: Running a VMware Player Virtual Machine to run a Driver Station

Quote:
Originally Posted by defied View Post
If you use bridging, the field may authenticate the traffic packet based on MAC address, and if the VM interface MAC is encapsulated in the payload, but the Physical MAC's interface is registered as sending the packet, the field radio could reject/drop those packets. I think this is highly unlikely, as the field network last year was a simple configuration.

The same applies if you are using NAT'ting, except replace everywhere I said MAC with IP address. Because different organizations have produces all of these different items at a nearly free to FIRST level, I HIGHLY doubt this is integrated in to the Field.
I helped a team that had bridged their ethernet and wireless connections. They were not able to connect to FMS until they removed the bridge, even though all other settings were OK.

I don't think the field network configuration is as simple as you suspect. From the FMS whitepaper:

Quote:
The FMS software (running on the FMS Server)
communicates with each Driver Station via the
managed switches in the Scorpion Case and Station
Control Cabinets. This communication employs
team-specific virtual local area networks (VLANs)
which serve to isolate each teams data traffic.
...
The FMS software configures the managed switches
and Access Point before each match to ensure the
data and communications for each team is kept
separate from others.
Reply With Quote
  #6   Spotlight this post!  
Unread 08-01-2014, 01:24
defied defied is offline
Registered User
FRC #2557
 
Join Date: Jan 2014
Location: Tacoma, WA
Posts: 23
defied is an unknown quantity at this point
Re: Running a VMware Player Virtual Machine to run a Driver Station

Quote:
Originally Posted by Joe Ross View Post
I don't think the field network configuration is as simple as you suspect. From the FMS whitepaper:
Hi, Joe.
What is being discussed in that body of text refers to creating multiple isolated Virtual Local Area Networks (VLANs) in order to keep traffic communications privatized per network (or robot in this case). This could prevent someone on one robot from spoofing traffic on another robot on the opposing team.

If you're statement that bridging did not work, then yes, there could be another method of security in play. I would have to see the traffic to determine if that is the case and what it may be. 0]

Thanks for the info! I appreciate it. It will be interesting to see their latest whitepaper. I'm sure I'll be asking more questions.

D
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 05:26.

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