![]() |
Introducing the Open Source Driver Station
Hey Chief Delphi!
I would like to share with you what the Second Law Enforcers (Team 178) have been working on for the Summer of FIRST project in the last two months. We’ve replicated the current FRC Driver Station and created a version that will be functional without platform-based dependencies. In other words, this Driver Station will work on OS X and Linux as well as Windows. At the current state, the only thing you really can do is enable and disable the robot. Joystick support is coming up soon. The main issue with adding this feature is that I don’t have one to test with, and won’t until our next team meeting. :( Anyway, this is just a beta test. I’m working on creating a version for iOS, which I hope to have out within the next month. I do realize this has been done in the past, but the app is no longer up, so I’m recreating it with 2013 and hopefully 2014 season support. :) Download links are on the GitHub page. https://github.com/Summer-of-FIRST/DriverStation.js Note: This is not legal for usage during a competition match. I will most likely add a kill switch if it detects FMS in the future. |
Re: Introducing the Open Source Driver Station
Saw this on github earlier. Is this legal for competition? Also, how is performance of packets and UI? Any enhancements available?
|
Re: Introducing the Open Source Driver Station
:O
This is awesome, I cant wait till I can look at this code after school settles down... EDIT: Uh, what happened to separate lines in "jquery-2.0.3.min.js"? |
Re: Introducing the Open Source Driver Station
This is pretty neat. I like this user interface more than I like the provided driver station's interface. Just out of curiosity, do you know why the file is so big? Also, why does it come with ffmpeg?
|
Re: Introducing the Open Source Driver Station
Quote:
|
Re: Introducing the Open Source Driver Station
Quote:
|
Re: Introducing the Open Source Driver Station
Quote:
The file you're downloading is my code bundled with a special version of the webkit engine. I realized that the file size would be in the 60 MB range when making this decision, and modern computers don't really have an issue with storage, so I went with it. Writing this in web technologies also gave me a very large amount of control over how I wanted this to look, which was huge bonus for me. |
Re: Introducing the Open Source Driver Station
This is great! One thought I have is that this would be even better with a similar homebrew FMS solution. Is this on your roadmap?
I have heard of others who have tried to replicate FMS (https://github.com/itguy51/FRC-OpenFMS, for example), but these haven't been documented very well yet, and look like they're the work of single people, not the FRC community. |
Re: Introducing the Open Source Driver Station
Quote:
|
Re: Introducing the Open Source Driver Station
Quote:
Here is some of the stuff I worked on a while ago, mainly as a proof of concept: https://github.com/4ndr3w/Java-FRC-FMS/ FMS -> DS is fully implemented. Robot mode(auto/tele), state, alliance, and station setting all work with the 2013 DS. Since the DS->FMS stuff is not yet implemented, the FMS will just blindly send packets to the team's DS IP without gathering status info, but it works. For anyone interested, I used this whitepaper as a reference for the protocol. Despite this being for the old Kiwibyte 2009 DS, it still works with the 2013 DS. http://www.chiefdelphi.com/media/papers/2266 |
Re: Introducing the Open Source Driver Station
Quote:
|
Re: Introducing the Open Source Driver Station
Any idea when the OSX version will be released?
|
Re: Introducing the Open Source Driver Station
Quote:
It's definitely more of a want. For example, FMS Lite hasn't been updated since 2009, can't be implemented very well at teams' practice fields, and the underlying logic is not accessible to the of the community (minus NI and FIRST, of course). It stands as a decent (but old) solution for some offseason or preseason events. There really isn't any way a team can set up an instance of FMS (homebrew or official) easily for their own purposes. Plus, after Einstein 2012, I would personally prefer my team's drivers practicing under some sort of FMS to more accurately approximate a real match – and not just driving with the Driver Station set to practice mode. Quote:
|
Re: Introducing the Open Source Driver Station
All I have to do is package the OS X version into a nice .app. I'll do it tonight when I get home. :)
|
Re: Introducing the Open Source Driver Station
I really appreciate this open source driver station. I'm not a fan of installing LabVIEW on our programming teams personal laptops just so that they can play with our test cRIO setup (we only have one driver station).
I'd really love the ability to use a joystick with it. Thanks a lot for this! |
Ubuntu One is dead, will OSDS live on?
So the binary links in your GitHub page all lead to Ubuntu One file storage, which was taken offline about a month or two ago. Can you reupload the files to something like MEGA or MediaFire or something? Thanks~
|
Re: The Open Source Driver Station Lives On!
Hello my fellow frustrated USFIRST Driver Station users, or am I the only one? :ahh:
I have forked the work done by Gluxon, added Joystick Support, Bound the F1, Enter, and Space keys to Enable, Disable, and Estop, and Added a Joystick Setup section to the Setup tab to select Joystick order. I have a problem however, NONE OF IT IS TESTED... I am a college student and do not have access to an FRC robot for actual testing. I do not have the resources (a Windows and Mac machine) to put together packages for use other than on Linux, but anyone who knows a little about Node and Node-Webkit (I managed to learn in the 5 days I worked on this) should be able to get this running fairly easily. I am reaching out to you guys in search of people willing to test and give feedback on what needs to be done to get the Open Source Cross Platform Driver Station in a usable state, preferably before January so it can be used for testing actual robots during the season. Github: DriverStation.js |
Re: Introducing the Open Source Driver Station
Hey gixxy,
When I saw that node-gamepad had came out, integrating it in DriverStation.js was one of my priorities for the year. However, with the new protocol in 2015, I pushed this off until January. Are you interested in submitting a pull request to my original repository? Forks are good, so there's no hard feelings either way. Brandon |
Re: Introducing the Open Source Driver Station
I was thinking of putting in a pull request, but not until the joystick code is actually tested with bots.
|
Re: Introducing the Open Source Driver Station
Im on a mac and I was wondering, how to load code and use the smart dashboard with this?
|
Re: Introducing the Open Source Driver Station
Quote:
The OSDS is only a replacement Driver Station. Code is loaded via your standard IDE of choice (LabVIEW for LabVIEW, Netbeans for java, and Workbench for C++) and the smart dashboard is a separate application written in Java and handles it's own network communication. |
| All times are GMT -5. The time now is 22:42. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi