OCCRA
Go to Post I propose, these forums are not a competition. There is no race to prove a point, to prove you are right, to prove you are wrong. - J.Rees [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 11-07-2015, 01:39 PM
spat's Avatar
spat spat is offline
QDriverStation Developer
AKA: Alex Spataru
FRC #3794 (WinT)
Team Role: College Student
 
Join Date: Sep 2015
Rookie Year: 2013
Location: Queretaro, Mexico
Posts: 45
spat is on a distinguished road
An open-source, cross-platform Driver Station...

Hello!

During the last months, I have been working in a cross-platform and open source alternative to the FRC Driver Station. Currently, the application is able to run on Windows, Mac and Linux. However, I am also implementing a mobile version, which would work on Android, iOS and Windows Phone.

This driver station supports the 2015 protocol, however, I have made it relatively easy to implement different communication protocols, since I separated the UI and the Communication library into different projects.

While there is still a lot of work (and testing) to do, I would really appreciate if you could test the application and send me some feedback about it. As you may expect, code is always welcome.

Please note that the mobile version is still under heavy development, so for the moment there are no binaries/installers available. I will upload them when the application is fully functional and thoroughly tested.

By the way, you can drive the robot with a "real" joystick or with your keyboard

Links:

(edit) For everyone who downloaded the application before November 8th:

I strongly recommend you to download it again, as I updated it to include an auto-updater and fixed some bugs with the keyboard/virtual joystick.

Notes:
  • Both the mobile and desktop version use the same library to communicate and manage the robot.
  • In the desktop version, joystick input is done via SDL2. If you decide to test this application, PLEASE check how SDL maps the joystick (in the same way as you do with the official Driver Station). Avoid involuntary robot movements! If you are unsure about this, use the "virtual joystick" option before testing it with a real joystick.
  • This project is written in C++ using the Qt toolkit.

Greetings!

Last edited by spat : 11-08-2015 at 12:05 AM.
  #2   Spotlight this post!  
Unread 11-07-2015, 05:33 PM
Joey1939's Avatar
Joey1939 Joey1939 is offline
Registered User
AKA: Joey Holliday
FRC #1939 (Kuhnigits)
Team Role: Alumni
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Kansas City, Missouri
Posts: 156
Joey1939 has a spectacular aura aboutJoey1939 has a spectacular aura aboutJoey1939 has a spectacular aura about
Re: An open-source, cross-platform Driver Station...

This is awesome!. I love open source projects. When I get access to a robot on Monday, I will try it out on Windows, OS X, and iOS.
__________________
  #3   Spotlight this post!  
Unread 11-08-2015, 12:01 AM
spat's Avatar
spat spat is offline
QDriverStation Developer
AKA: Alex Spataru
FRC #3794 (WinT)
Team Role: College Student
 
Join Date: Sep 2015
Rookie Year: 2013
Location: Queretaro, Mexico
Posts: 45
spat is on a distinguished road
Re: An open-source, cross-platform Driver Station...

Quote:
Originally Posted by Joey1939 View Post
This is awesome!. I love open source projects. When I get access to a robot on Monday, I will try it out on Windows, OS X, and iOS.
Thank you very much for your interest in the project! You are welcome to try out the application on iOS, however, please note that the mobile version is still in the alpha stage:
  • For the moment, you will need to compile it by yourself. I have included the build instructions in the readme file of the repository.
  • Some features will be missing and you will encounter bugs in the mobile application

Last edited by spat : 11-08-2015 at 12:06 AM.
  #4   Spotlight this post!  
Unread 11-08-2015, 12:14 AM
MaGiC_PiKaChU's Avatar
MaGiC_PiKaChU MaGiC_PiKaChU is offline
Drive Coach
AKA: Antoine L.
FRC #3360 (Hyperion)
Team Role: Mentor
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Sherbrooke
Posts: 629
MaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond reputeMaGiC_PiKaChU has a reputation beyond repute
Re: An open-source, cross-platform Driver Station...

I'm speechless... this is awesome
__________________
2012 - 3360 - Junior member
2013-2014 - 3360 - Lead Programmer, Human player
2015 - 3360 - Lead Programmer, Driver
2016-2017 - 3360 - Mentor, Drive coach



  #5   Spotlight this post!  
Unread 11-08-2015, 12:57 AM
SoftwareBug2.0's Avatar
SoftwareBug2.0 SoftwareBug2.0 is offline
Registered User
AKA: Eric
FRC #1425 (Error Code Xero)
Team Role: Mentor
 
Join Date: Aug 2004
Rookie Year: 2004
Location: Tigard, Oregon
Posts: 516
SoftwareBug2.0 has a reputation beyond reputeSoftwareBug2.0 has a reputation beyond reputeSoftwareBug2.0 has a reputation beyond reputeSoftwareBug2.0 has a reputation beyond reputeSoftwareBug2.0 has a reputation beyond reputeSoftwareBug2.0 has a reputation beyond reputeSoftwareBug2.0 has a reputation beyond reputeSoftwareBug2.0 has a reputation beyond reputeSoftwareBug2.0 has a reputation beyond reputeSoftwareBug2.0 has a reputation beyond reputeSoftwareBug2.0 has a reputation beyond repute
Re: An open-source, cross-platform Driver Station...

I'm also excited to try this out on a robot. This should save my team a bunch of table space. That may seem like an odd thing to say, but our solution to the the problems of the driver station not running on Linux and E-stopping on spacebar has been to use twice as many computers, half for development, half for running the driver station. This should solve both of those problems.

I've successfully built and started the program on Ubuntu 15.04. For others who are trying this I would recommend the following command:

Code:
sudo apt-get install libsdl2-dev qtcreator && git clone https://github.com/WinT-3794/QDriverStation.git && cd QDriverStation && qmake && make && sudo make install
I tried installing the proper Qt development libraries piecewise without Qt Creator and I got to a place where it wasn't obvious what part I was missing, but Qt Creator must have depended on it because installing it solved things.

Last edited by SoftwareBug2.0 : 11-08-2015 at 01:00 AM. Reason: Forgot a 'sudo'
  #6   Spotlight this post!  
Unread 11-08-2015, 03:55 PM
BenGuy's Avatar
BenGuy BenGuy is offline
Co-Driver - 3641 - Flying Toasters
AKA: Ben
FRC #3641 (The Flying Toasters)
Team Role: Operator
 
Join Date: May 2014
Rookie Year: 2014
Location: South Lyon, Michigan
Posts: 245
BenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of light
Re: An open-source, cross-platform Driver Station...

I'm not huge into code, so forgive my ignorance...

Is there any way that this could run on windows rt? The processor (ARM cpu) can't run .exe so are you going to turn this into a windows app or anything like that? Thanks.
__________________



Ben Wolak
The Flying Toasters Website

Team YouTube
Team Twitter

The real problem with computers is that they do what you tell them to do, not what you want them to do.
  #7   Spotlight this post!  
Unread 11-08-2015, 03:59 PM
spat's Avatar
spat spat is offline
QDriverStation Developer
AKA: Alex Spataru
FRC #3794 (WinT)
Team Role: College Student
 
Join Date: Sep 2015
Rookie Year: 2013
Location: Queretaro, Mexico
Posts: 45
spat is on a distinguished road
Re: An open-source, cross-platform Driver Station...

Quote:
Originally Posted by BenGuy View Post
I'm not huge into code, so forgive my ignorance...

Is there any way that this could run on windows rt? The processor (ARM cpu) can't run .exe so are you going to turn this into a windows app or anything like that? Thanks.
AFAIK, I can compile the application for Windows RT. If so, I will upload a RT installer the following week.
  #8   Spotlight this post!  
Unread 11-08-2015, 05:59 PM
Ben Wolsieffer Ben Wolsieffer is offline
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: 525
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: An open-source, cross-platform Driver Station...

This is awesome! I have worked on an Android driver station, but haven't had time to finish it. Your application looks like it can (or will be able to do) everything I need.

I'm working on an Arch Linux package for the desktop version, which I'll upload to the AUR, in case anyone wants to use 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
  #9   Spotlight this post!  
Unread 11-08-2015, 09:59 PM
Ben Wolsieffer Ben Wolsieffer is offline
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: 525
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
I finished the Arch Linux package (at the expense of the timely completion of my homework), available here.
__________________



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
  #10   Spotlight this post!  
Unread 11-09-2015, 08:05 PM
gixxy's Avatar
gixxy gixxy is offline
Programming and Arduino Mentor
AKA: Gustave Michel III
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Ruston, LA
Posts: 210
gixxy is on a distinguished road
Re: An open-source, cross-platform Driver Station...

Quote:
Originally Posted by lopsided98 View Post
I finished the Arch Linux package (at the expense of the timely completion of my homework), available here.
I can confirm that it installs correctly. Awesome work.

Also Awesome work to you spat!
__________________
Programmer - A creature known for converting Caffeine into Code.
Studying Computer Science @ Louisiana Tech University
Associate Consultant @ Fenway Group

2012-13: 3946 - Head of Programming, Electrical and Web
2014 - 3468 - Programming Mentor
2015 - Present - 3946 - Programming Mentor
  #11   Spotlight this post!  
Unread 11-10-2015, 02:27 PM
Sauce-ome Sauce-ome is offline
Registered User
FRC #4388 (Ridgebotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Colorado
Posts: 6
Sauce-ome is an unknown quantity at this point
Re: An open-source, cross-platform Driver Station...

This looks really awesome! Do you know if the drivers station would work on the raspberry pi or would the pi not have the power to run it? If it could it would open up some cool opportunities.

Last edited by Sauce-ome : 11-10-2015 at 03:37 PM.
  #12   Spotlight this post!  
Unread 11-10-2015, 04:35 PM
spat's Avatar
spat spat is offline
QDriverStation Developer
AKA: Alex Spataru
FRC #3794 (WinT)
Team Role: College Student
 
Join Date: Sep 2015
Rookie Year: 2013
Location: Queretaro, Mexico
Posts: 45
spat is on a distinguished road
Quote:
Originally Posted by Sauce-ome View Post
This looks really awesome! Do you know if the drivers station would work on the raspberry pi or would the pi not have the power to run it? If it could it would open up some cool opportunities.
Well, it runs on Linux and it does not consume too much RAM memory (approx. 15 MB on my laptop). If the current version is too heavy for it, I could easily make a "terminal" version of it, as I implemented the code that communicates and manages the robot in a separate library. In other words, I would only need to write the UI/GUI part
__________________
You can live for yourself today, or help build tomorrow for everyone
  #13   Spotlight this post!  
Unread 11-10-2015, 05:47 PM
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
no team (The Blue Alliance)
Team Role: Engineer
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC
Posts: 1,184
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: An open-source, cross-platform Driver Station...

I love this! Any advice for (potential) contributors?
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
The Blue Alliance | The Blue Alliance for Android | FRC Notebook
  #14   Spotlight this post!  
Unread 11-10-2015, 06:24 PM
x86_4819's Avatar
x86_4819 x86_4819 is offline
computer-whisperer
AKA: Christian Balcom
FRC #4819 (Flat Mountain Mechanics)
Team Role: Programmer
 
Join Date: Sep 2014
Rookie Year: 2013
Location: Shepherd MI
Posts: 92
x86_4819 is on a distinguished road
Re: An open-source, cross-platform Driver Station...

Quote:
Originally Posted by spat View Post
Well, it runs on Linux and it does not consume too much RAM memory (approx. 15 MB on my laptop). If the current version is too heavy for it, I could easily make a "terminal" version of it, as I implemented the code that communicates and manages the robot in a separate library. In other words, I would only need to write the UI/GUI part
Imagine if you could run this on the RoboRIO itself over ssh.....
__________________




My Github Repositories
  #15   Spotlight this post!  
Unread 11-10-2015, 07:10 PM
spat's Avatar
spat spat is offline
QDriverStation Developer
AKA: Alex Spataru
FRC #3794 (WinT)
Team Role: College Student
 
Join Date: Sep 2015
Rookie Year: 2013
Location: Queretaro, Mexico
Posts: 45
spat is on a distinguished road
Re: An open-source, cross-platform Driver Station...

Quote:
Originally Posted by x86_4819 View Post
Imagine if you could run this on the RoboRIO itself over ssh.....
The way the communications between the DS and the robot work would make this relatively difficult. But, given the appropriate network configuration, you could drive a robot with another robot...
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:30 AM.

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