Skip to content

Bingostew/WebDS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-Based Driver Station

gradle build qt build

IN PROGRESS: Web-based driver station client for FRC

LibDS

Clone of project here.

Sub-project SimpleDS has been modified and will be given ability to connect to server and read joystick input from it.

LibDS -> TODO

  • Test Test Test!
  • Resolve Buffer Overflow Error
  • Add Local Input Configuration
  • Rio Feedback/Logs to DS
  • Auto-retry on server connection
  • Multiple Driver Configuration
  • Configure 2020 Protocol
  • to disable and to e-stop
  • Write Build Script
  • Build executable
  • Implement two-way communication to server
  • Implement server client

Building LibDS

Build with CQtDeployer.

Useful documentation here.

In addition to installing qt5, the project also requires the qtwebsocket module as the application uses the WebSocket Protocol.

Linux:

Install CQtDeployer:

wget https://github.com/QuasarApp/CQtDeployer/releases/downloads/1.4.5/LinuxInstaller.run
chmod +x LinuxInstaller.run
./LinuxInstaller.run

Build Qt Application Binaries (from application directory):

make clean
qmake -config release
make

Make Run Script (from application directory):

cqtdeployer -bin SimpleDS

Make installer (from application directory):

cqtdeployer -bin SimpleDS qif

All of the commands above are in /LibDS/examples/SimpleDS/build.sh

Build script can be run with -i flag to generate installer.

Windows:

Install CQtDeployer here

Build Qt Application Binaries (from application directory):

nmake clean
qmake -config release
nmake

Make Run Script (from application directory):

cqtdeployer -bin SimpleDS.exe -qmake C:/Qt/<version>/min_gw/bin/qmake.exe

WebDS

Spring Boot web application.

WebDS -> TODO

  • Test Test Test!
  • Video Feedback via Youtube Live
  • Mutiple Robot Configuration
  • Add Security Features
  • Configure for web deployment
  • Add Queueing system that only allows one websocket connection at a time
  • Add ability for keyboard/usb joystick data to be sent to server

Building WebDS

Build project with

./gradlew build

Deploy project locally with

./gradlew bootRun

Compile deployable web resource with

./gradlew bootWar

About

Web-Based Driver Station

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 55.1%
  • C++ 30.1%
  • HTML 10.0%
  • Java 4.0%
  • Other 0.8%