Go to Post I have always liked to see people get recognized for what they do, not people doing something to get recognized. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 11-11-2016, 11:02
Conor Ryan Conor Ryan is offline
I'm parking robot yacht club.
FRC #4571 (Robot Yacht Club)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2004
Location: Midtown, NYC
Posts: 1,888
Conor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond repute
Docker for FRC - Better Environment Setup

So one of my biggest complaints is getting software installed and rolled out to a team. I think it is a major barrier to entry and many teams set stuff up incorrectly the first time. There has got to be a better solution to get teams set up quickly and correctly.

Has anybody attempted to set up a docker style container that can set any team up with a ready to go in a windows environment?


Programs wishlist include:
-Java
-Eclipse (both Java and C++ set up)
-WPI lib
-RobotBuilder
-GRIP
-FRC Update Suite
-SmartDashboard

-Labview?
Reply With Quote
  #2   Spotlight this post!  
Unread 11-11-2016, 11:16
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 189
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: Docker for FRC - Better Environment Setup

I think this is a neat idea. I'm not sure about packaging national instruments software like that though. There is probably some restrictive licensing with their software especially for FRC teams.

I've never used docker, but it seems like a good idea especially when you get a new laptop or want to roll out lots of laptops for a big software team.
Reply With Quote
  #3   Spotlight this post!  
Unread 11-11-2016, 11:32
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,031
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Docker for FRC - Better Environment Setup

Docker is really great for command-line/server apps, traditionally has been not so great for GUI apps (though, perhaps they've changed that for Docker for Windows). My sense is that it would work best for hosting the FRC-specific C++ compilers in an easy to use way (great for a CI server), as opposed to the entire environment.

Licensing for NI products will be a problem also.

Give it a shot, let us know how it works out.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
  #4   Spotlight this post!  
Unread 11-11-2016, 11:39
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,193
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Docker for FRC - Better Environment Setup

Oddly enough we're looking at this for use with our OpenCV vision systems. Kinda neat idea. Definitely think this is the future of software development given how complex setting up build environments can be.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #5   Spotlight this post!  
Unread 11-11-2016, 11:41
Doug Frisk's Avatar
Doug Frisk Doug Frisk is offline
Keeping Score
AKA: Doug Frisk
no team
 
Join Date: Mar 2014
Rookie Year: 2011
Location: Behind the FMS
Posts: 340
Doug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond reputeDoug Frisk has a reputation beyond repute
Re: Docker for FRC - Better Environment Setup

Quote:
Originally Posted by Conor Ryan View Post
So one of my biggest complaints is getting software installed and rolled out to a team. I think it is a major barrier to entry and many teams set stuff up incorrectly the first time. There has got to be a better solution to get teams set up quickly and correctly.

Has anybody attempted to set up a docker style container that can set any team up with a ready to go in a windows environment?


Programs wishlist include:
-Java
-Eclipse (both Java and C++ set up)
-WPI lib
-RobotBuilder
-GRIP
-FRC Update Suite
-SmartDashboard

-Labview?
There's already something similar to that in the Microsoft environment, App-V. The problem with that though is that the licensing is prohibitively restrictive. In windows 10, it's only available in the Windows 10 Student and Enterprise editions. There are App-V clients available on the Windows 8 and 7 environments, but the way it's licensed I doubt it would work in FIRST.

Altiris had a software virtualization solution that was similar, but I don't think the SVS team survived the Symantec buyout and I think the last supported client was on Windows 7.
__________________
2017 Northern Lights, Escanaba, Iowa, North Star, Seven Rivers, Houston Champs, St. Louis Champs
2016 Northern Lights, Iowa, North Star, Champs, MN Championship, Gitchie Gummie, MRI, Mini Minnie
2015 Norhern Lights, Central Illinois, North Star, Champs, Minnesota Championship, Gitchie Gummie, MRI, Mini Minnie
2014 Northern Lights, Midwest, North Star, Champs, Minnesota Championship, Gitchie Gummie, Mini Minnie
2013 Lake Superior, Champs, Mini Minnie
2012 Lake Superior
Scorekeeper, Practice Field, UL Safety Advisor, Queuing
Reply With Quote
  #6   Spotlight this post!  
Unread 11-11-2016, 12:17
Conor Ryan Conor Ryan is offline
I'm parking robot yacht club.
FRC #4571 (Robot Yacht Club)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2004
Location: Midtown, NYC
Posts: 1,888
Conor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond reputeConor Ryan has a reputation beyond repute
Re: Docker for FRC - Better Environment Setup

I think I might give it a shot with some people on our team. We'll do other stuff when we get better at it but to start I think this would be the way to start:
-Java
-Eclipse
-Github
-WPIlib
-GRIP
Reply With Quote
  #7   Spotlight this post!  
Unread 11-11-2016, 12:51
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 563
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: Docker for FRC - Better Environment Setup

Windows has native tooling that can help you with this. Here's one approach:

1. Build a Win10 anniversary edition WIM that targets your machines, with everything that can be installed in audit mode
2. Install using the WIM
3. Use the new Powershell PackageManagement tooling to install stuff from Chocolatey
4. Hand install stuff anything that can't be done another way

It would be interesting to see which of the FRC specific installs could be automated through Chocolatey.
__________________
2016-17 events: 10000 Lakes Regional, Northern Lights Regional, FTC Burnsville Qualifying Tournament

2011 - present · FRC 3081 Kennedy RoboEagles mentor
2013 - present · event volunteer at 10000 Lakes Regional, Northern Lights Regional, North Star Regional, Lake Superior Regional, Minnesota State Tournament, PNW District 4 Glacier Peak, MN FTC, CMP
http://twitter.com/MrRoboSteve · www.linkedin.com/in/speterson
Reply With Quote
  #8   Spotlight this post!  
Unread 08-12-2016, 18:49
tkchan tkchan is offline
Registered User
AKA: Joe
FRC #4546 (Shockwave)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Dover, NH
Posts: 1
tkchan is an unknown quantity at this point
Re: Docker for FRC - Better Environment Setup

Similar situation here, given that different students has different machines at home, we opted for the route of just using a semi-custom VM running on top of VMWare Workstation Player (12.5) [We started with Virtual Box but one of our older desktop were having some really weird problem running the VM in it so we ended up redoing the VM for VMWare]. Our VM is Ubuntu 14.04 LT running Eclipse MARS 2, Java 8, gcc/g++ and full WPI toolchain.

We are still having to deal with not having enough working/workable machines when we have 10 kids showing up for programming lessons and we have 2.5 working laptops and 3 desktops. So ideally if we can get into a full Docker Stack, then that would open up to a ton of the free IDE on the cloud situation (i.e. Codenvy.com uses a semi-custom version of Eclipse Che and would be an ideal candidate for us). If we can go that route, then we just need to get 10 chrome/chromebook for our students and they can keep working in the same exact environment on their own when they're home.

So if anyone is working on a Docker Stack for this, I would be more then happy to help in anyway possible.
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:13.

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