Go to Post Just wondering what types of food you have been living off of while working on your robot? Our team has had pizza almost 3-4 times a week or more. Just wondering. SGS DRAGONS - sgsdragons [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 05-01-2015, 20:52
1452-Leo 1452-Leo is offline
Registered User
FRC #1452 (Omnicats)
Team Role: Alumni
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Los Angeles
Posts: 44
1452-Leo is an unknown quantity at this point
Question Driver Station through WINE

This year, our code team is trying to go all Mac. All our team members own MacBooks, so it just makes sense (last year we used an old windows computer lying around). We're also switching to C++ from Labview, and Eclipse works smoothly on the new RoboRIOs without any bugs. The one problem in our setup is the Driver Station. I am currently running the Driver Station through WINE (specifically, a Wineskin wrapper) and it works almost perfectly. The only problem is the joystick. We are using generic USB joysticks which work perfectly in Windows. After some digging on google, I checked the WINE control panel and it recognizes the joystick and displays its values, but for some reason the Driver Station still doesn't recognize it. Has anyone gotten this to work or know how to fix it? Thanks!
  #2   Spotlight this post!  
Unread 05-01-2015, 21:41
amreuland's Avatar
amreuland amreuland is offline
Overworked Insomniac
AKA: Austin
FRC #2583 (Westwood Robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Austin TX
Posts: 18
amreuland is on a distinguished road
Re: Driver Station through WINE

I'd like to know how you got it installed. I was unable to get past the loading screen. I kept getting the error
Code:
Fatal Error!! Required NIPathsDir property NILEGALDIR is undefined.
__________________
RoboLib - An enhanced FRC Library http://robolib.github.io/

Lone Star Match 85 - Arena and Robot Video https://www.youtube.com/watch?v=5tgJZ-s3dIQ
  #3   Spotlight this post!  
Unread 05-01-2015, 21:51
1452-Leo 1452-Leo is offline
Registered User
FRC #1452 (Omnicats)
Team Role: Alumni
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Los Angeles
Posts: 44
1452-Leo is an unknown quantity at this point
Re: Driver Station through WINE

Quote:
Originally Posted by amreuland View Post
I'd like to know how you got it installed. I was unable to get past the loading screen. I kept getting the error
Code:
Fatal Error!! Required NIPathsDir property NILEGALDIR is undefined.
I downloaded the installer here and it installed without errors, then I launched C:\Program Files\FRC Driver Station\DriverStation.exe. I should also add that I use the same wrapper for all my windows programs over the last few years. This means that I keep accumulating libraries and other stuff so I may have something installed that you don't, but there is no way of knowing. Are you using wineskin or just plain wine?
  #4   Spotlight this post!  
Unread 05-01-2015, 21:58
amreuland's Avatar
amreuland amreuland is offline
Overworked Insomniac
AKA: Austin
FRC #2583 (Westwood Robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Austin TX
Posts: 18
amreuland is on a distinguished road
Re: Driver Station through WINE

Im on linux, So plain old WINE.

I was able to install the driver station last year on the same WINE prefix.
__________________
RoboLib - An enhanced FRC Library http://robolib.github.io/

Lone Star Match 85 - Arena and Robot Video https://www.youtube.com/watch?v=5tgJZ-s3dIQ
  #5   Spotlight this post!  
Unread 05-01-2015, 22:00
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,756
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: Driver Station through WINE

The DS uses a combination of DirectInput 8 and XInput libraries. The XInput should only be needed for Xbox 360. I have not tested with WINE, but I can tell you that Parallels works pretty well. I just tried it with their Coherence feature, and the DS/DB works pretty well. I generally put windows on a second screen, but if all you are using is the DS, maybe Coherence is a good choice.

Greg McKaskle
  #6   Spotlight this post!  
Unread 05-01-2015, 22:13
1452-Leo 1452-Leo is offline
Registered User
FRC #1452 (Omnicats)
Team Role: Alumni
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Los Angeles
Posts: 44
1452-Leo is an unknown quantity at this point
Re: Driver Station through WINE

Quote:
Originally Posted by Greg McKaskle View Post
The DS uses a combination of DirectInput 8 and XInput libraries. The XInput should only be needed for Xbox 360. I have not tested with WINE, but I can tell you that Parallels works pretty well. I just tried it with their Coherence feature, and the DS/DB works pretty well. I generally put windows on a second screen, but if all you are using is the DS, maybe Coherence is a good choice.

Greg McKaskle
I've always tried to stay away from parallels. It's expensive and I would rather do something like run my computer in bootcamp (which is already set up) but have my teammate's in OSX because all the code is synced to the cloud so it doesn't really matter what computer we code from. It looks like Parallels works great and good luck with it, but I just don't want to take the plunge yet. Thanks anyway!

EDIT: I added DirectInput 8 and I really hope it works, but unfortunately I can't test it out until later tomorrow. I'll get back with results though!

Last edited by 1452-Leo : 06-01-2015 at 00:17.
  #7   Spotlight this post!  
Unread 05-01-2015, 22:15
1452-Leo 1452-Leo is offline
Registered User
FRC #1452 (Omnicats)
Team Role: Alumni
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Los Angeles
Posts: 44
1452-Leo is an unknown quantity at this point
Re: Driver Station through WINE

Quote:
Originally Posted by amreuland View Post
Im on linux, So plain old WINE.

I was able to install the driver station last year on the same WINE prefix.
I'm not experienced with Linux and I only have used wineskin, so I can't really help you there. My only suggestion would be to dig through the logs and try to find if it needs anything you are missing. Good luck!
  #8   Spotlight this post!  
Unread 06-01-2015, 02:12
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 268
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: Driver Station through WINE

I've had good experiences running it in VirtualBox (Windows 7 guest, Linux host), but never tried WINE.
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
  #9   Spotlight this post!  
Unread 06-01-2015, 07:59
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,756
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: Driver Station through WINE

I've used parallels for years and have had pretty good luck with it. Joe uses VMFusion I think and also had issues with Xbox joysticks. I don't know if he worked it out.

I checked their website and the product costs $80. It may be worth your time to contact them, explain your situation, and see if they will sponsor or grant. They also have business licenses, so they may be willing to treat the team like a business.

Greg McKaskle
  #10   Spotlight this post!  
Unread 06-01-2015, 09:27
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: 582
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: Driver Station through WINE

You'll have the most support (troubleshooting help) at competition events for Windows running directly on the hardware. Other configurations like those being discussed on this thread might work fine in your shop but have trouble on the field.

Teams get very frustrated when they arrive at the field and have to be bypassed for the match because their driver station won't connect.
__________________
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
  #11   Spotlight this post!  
Unread 06-01-2015, 09:48
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,899
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: Driver Station through WINE

Quote:
Originally Posted by MrRoboSteve View Post
You'll have the most support (troubleshooting help) at competition events for Windows running directly on the hardware. Other configurations like those being discussed on this thread might work fine in your shop but have trouble on the field.

Teams get very frustrated when they arrive at the field and have to be bypassed for the match because their driver station won't connect.
This is sometimes the case, however I will say most fields have an emergency Classmates on hand in the event this happens, they can switch out the computers so you can still drive for a match (dashboards may not work).

Wine is a unique way to run, I would be worried about the performance and a larger control lag in a competition environment.

If it works, it works. If it doesn't, you don't have a normal installation and not much support is available. This has been attempted in the past but since it isn't widespread I'm not sure if it has worked out so well.
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 03:03.

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