Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   An open-source, cross-platform Driver Station... (http://www.chiefdelphi.com/forums/showthread.php?t=138999)

spat 03-12-2015 15:49

Re: An open-source, cross-platform Driver Station...
 
Quote:

Originally Posted by krieck (Post 1509428)
The user interface looks great. I've been wanting a Mac based driver system for a long time, and I'm looking forward to putting this to work.

I'm afraid I also can't connect to my roboRIO. I am able to ping and ssh to my mDNS address. I tried updating the custom address to the actual IP, but that didn't help.

I am currently seeing the following error messages:

Code:

qt.network.ssl: QSslSocket: cannot resolve SSL_set_psk_client_callback
qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_client_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_client_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_server_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_server_method
qt.network.ssl: QSslSocket: cannot resolve SSL_select_next_proto
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_next_proto_negotiated
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get0_next_proto_negotiated


The error messages are the logs of the auto-updater, they do not have anything to do with the DS/robot stuff.

On some systems (e.g. OS X 10.11 and Android) mDNS failed to report the robot IP to the Driver Station. To avoid this issue and to make the DS work on mobile devices, I began implementing an integrated mDNS responder, which will be available on the next major release, hopefully fixing these issues on all operating systems.

If the DS fails to connect to the robot, you can:

- Compile the latest version (code and instructions are here) and try it out. If so, you will need to set the custom IP, since I implemented the code to send mDNS queries, but I still have to work on interpreting mDNS responses...this will be fixed before the next binary release

- If you don't want to go through the compilation procedure, the QDriverStation will notify you when I upload the binary installers (which will be in one week or two from now). Just be sure to launch the DS with a working Internet connection from time to time.

raystubbs 10-12-2015 22:56

Re: An open-source, cross-platform Driver Station...
 
Looks like this project is really getting along. That's awesome, maybe I'll get to try it sometime.

Ben Wolsieffer 18-12-2015 22:02

Re: An open-source, cross-platform Driver Station...
 
I tested the DS a few days ago (on Arch Linux) and was able to control a robot, but there were a few issues.

There seems to currently be no way to rearrange joysticks, unless I am missing something. I was able to work around this by unplugging the joysticks and reconnecting them in the right order.

When I first enabled the robot, it started driving away without user input, but was able to be stopped using the emergency stop. We spent around 30 minutes practicing with the robot afterward and this never happened again, but it still makes me a little scared.

After the robot was e-stopped, I could not reenable it until I had restarted both the driver station and the robot at the same time. I think this was because the DS immediately e-stopped the robot when it reconnected. I'm not sure if this is the intended behavior or a bug.

Thanks for your work on this project.

Bearz 24-12-2015 18:25

Re: An open-source, cross-platform Driver Station...
 
I was messing around and made a deb file on Ubuntu 15.10 to install the Driver Station. There is no .desktop file right now. So to launch it you have to type qdriverstation in the terminal.

https://drive.google.com/file/d/0Bwm...ew?usp=sharing

For those who are curious, I made the package running this command:

$ sudo apt-get install libsdl2-dev qtcreator qtmultimedia5-dev libqt5multimediawidgets5 libqt5multimedia5-plugins libqt5multimedia5 && git clone https://github.com/WinT-3794/QDriverStation.git && cd QDriverStation && qmake && make && sudo make install

$ checkinstall

after i answer all of checkinstall questions it built the deb file.


if you have a problem building you might have to set qt5 as default if you have multiple version installed which you can do with " sudo apt-get install qt5-default ".


All times are GMT -5. The time now is 12:53.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi