Go to Post WHY WON'T THESE THREADS DIE!!!!!!! Eeach and every year there are at least two discussions about water games. - Rickertsen2 [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2016, 01:58
viggy96 viggy96 is offline
Registered User
FRC #3331
Team Role: College Student
 
Join Date: Jan 2015
Rookie Year: 2010
Location: Charlotte
Posts: 52
viggy96 is infamous around these partsviggy96 is infamous around these parts
Working Driver Station for Linux

Does anyone know if there is a working build of a driver station for Linux? I hate having to use Windows for just that one program to test the bot. (Literally just that one, it I had one, I would wipe Windows)

Anyway, thanks in advance.
  #2   Spotlight this post!  
Unread 24-01-2016, 09:49
legts legts is offline
Autonomous Queen
FRC #2399 (The Fighting Unicorns)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Ohio
Posts: 73
legts is an unknown quantity at this point
Re: Working Driver Station for Linux

To my knowledge, there is not. As someone who only runs Linux, I wish there were one!
__________________
Programming Captain on team 2399 for the 2016 season.
Programmer on team 2399 The Fighting Unicorns since 2014!
Engineering Inspiration Award GPR 2015
Semi-finalist Buckeye 2015 (thanks 4269 and 1987!)
  #3   Spotlight this post!  
Unread 24-01-2016, 10:10
dawonn's Avatar
dawonn dawonn is offline
Mentor
AKA: Dereck
FRC #2586 (Calumet Copperbots)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Auburn Hills, Mi
Posts: 53
dawonn is an unknown quantity at this point
Re: Working Driver Station for Linux

I just run it in virtualbox. Not the best solution but at least I don't need to reboot and lose access to all of my other applications...
  #4   Spotlight this post!  
Unread 24-01-2016, 10:38
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,045
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: Working Driver Station for Linux

I too run the official DS in Virtualbox.

However, there are at least two open source implementations that I'm aware of, but I haven't really messed with either. Search CD for related threads such as this one.
__________________
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
  #5   Spotlight this post!  
Unread 24-01-2016, 12:18
iSpotix iSpotix is offline
Registered User
FRC #4049
 
Join Date: Jan 2016
Location: Pittsburgh
Posts: 27
iSpotix is an unknown quantity at this point
Re: Working Driver Station for Linux

I have used a program called Wine to run windows programs in ubuntu.

https://www.winehq.org/
  #6   Spotlight this post!  
Unread 24-01-2016, 13:47
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is online now
#wheatcoastneatcoast
AKA: Devin Keeney
FRC #1982 (Cougar Robotics); Season Long Fantasy FIRST (F3)
Team Role: Student
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Lenexa, Kansas
Posts: 303
Bkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud of
Re: Working Driver Station for Linux

If you can be bother to try and compile it yourself, you might be able to compile the open source QDriverStation to run on linux. They say it runs on Linux, though I can't find any compiled files on the source forge site. Their website is blocked on the school laptop, so I can look later, but this should, in theory, work with Linux.
  #7   Spotlight this post!  
Unread 24-01-2016, 15:13
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 800
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Working Driver Station for Linux

Quote:
Originally Posted by iSpotix View Post
I have used a program called Wine to run windows programs in ubuntu.

https://www.winehq.org/
I've been able to get the driver station to run under Wine, but it won't find the robot. I imagine it has something to do with me not running the required MDNS services under Wine or something like that.
  #8   Spotlight this post!  
Unread 24-01-2016, 15:48
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 329
fovea1959 will become famous soon enough
Re: Working Driver Station for Linux

if you think that lack of mDNS is the issue with DS and Wine, try installing avahi on your Linux box; that may help (avahi is mDNS resolver for Linux)
  #9   Spotlight this post!  
Unread 24-01-2016, 16:00
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 800
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Working Driver Station for Linux

Quote:
Originally Posted by fovea1959 View Post
if you think that lack of mDNS is the issue with DS and Wine, try installing avahi on your Linux box; that may help (avahi is mDNS resolver for Linux)
Unfortunately, it isn't that easy. I've got working mDNS on Linux. (ping roboRIO-971.local works, as does ssh). There seems to be a NI service which needs to run to resolve mDNS on Windows and the DS expects to use it. (I'm guessing on how it works and could very well be wrong) If anyone figures it out, I'd also be very excited.
  #10   Spotlight this post!  
Unread 24-01-2016, 18:03
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Working Driver Station for Linux

Quote:
Originally Posted by AustinSchuh View Post
Unfortunately, it isn't that easy. I've got working mDNS on Linux. (ping roboRIO-971.local works, as does ssh). There seems to be a NI service which needs to run to resolve mDNS on Windows and the DS expects to use it. (I'm guessing on how it works and could very well be wrong) If anyone figures it out, I'd also be very excited.
Is your roboRIO updated? The correct IP for 2016 is roborio-971-frc.local not roborio-971.local (last year's address)
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
  #11   Spotlight this post!  
Unread 24-01-2016, 18:24
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 800
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Working Driver Station for Linux

Quote:
Originally Posted by Arhowk View Post
Is your roboRIO updated? The correct IP for 2016 is roborio-971-frc.local not roborio-971.local (last year's address)
As a Beta Test team, we are well aware of the change. As the beta test progressed this year, the address changed mid-season, and I've had to write code to auto-detect which scheme is in current use. The issue has no relation to how mDNS is functioning on Linux. I've been deploying code from Linux to the roboRIO successfully using both static IP addresses and mDNS for years. As far as I can tell, the issue is that the DriverStation running under Wine can't resolve the address of the roboRIO, and there is no way to give it a static IP address. If anyone else gets further, I'd love to hear how they did it. (I'd like to develop a custom joystick driver at some point after the season, and that will be much easier under Linux.)
  #12   Spotlight this post!  
Unread 24-01-2016, 19:17
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Quote:
Originally Posted by AustinSchuh View Post
Unfortunately, it isn't that easy. I've got working mDNS on Linux. (ping roboRIO-971.local works, as does ssh). There seems to be a NI service which needs to run to resolve mDNS on Windows and the DS expects to use it. (I'm guessing on how it works and could very well be wrong) If anyone figures it out, I'd also be very excited.
Despite having avahi installed on my Linux (fedora) box for years, I can't seem to find the roborio. Was there any custom setup you had to do to get that working?
__________________


GSR Dean's List Finalist 2011
  #13   Spotlight this post!  
Unread 24-01-2016, 19:21
Peter Mitrano Peter Mitrano is offline
Registered User
no team
 
Join Date: Jan 2016
Location: Worcester MA
Posts: 21
Peter Mitrano is an unknown quantity at this point
Re: Working Driver Station for Linux

I'd suggest contributing to this project: it seems to have worked in years past, although unlikely it works for the 2016 season

https://github.com/anidev/frc-driverstation
  #14   Spotlight this post!  
Unread 24-01-2016, 19:31
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,560
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: Working Driver Station for Linux

Quote:
Originally Posted by AustinSchuh View Post
As far as I can tell, the issue is that the DriverStation running under Wine can't resolve the address of the roboRIO, and there is no way to give it a static IP address. If anyone else gets further, I'd love to hear how they did it.
You can type the ip address into the team number field.
  #15   Spotlight this post!  
Unread 24-01-2016, 21:07
Ben Wolsieffer Ben Wolsieffer is online now
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: Working Driver Station for Linux

I can verify that QDriverStation works on Linux. You will need to compile it yourself though (it isn't very hard), and make sure you use the latest commit (rather than the v0.1-alpha release).

If you happen to use Arch Linux, I created an AUR package for it.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
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 18:36.

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