Skip to content

Base station for HYPED 2019 (Responsible for TCP connection to pod and UDP connection to SpaceX, as well as web interface)

Notifications You must be signed in to change notification settings

Hyp-ed/base-station-2019

Repository files navigation

Base-Station 2019

This is the backend for the HYPED base-station, and is responsible for communicating with the hyperloop pod and sending relevant commands and information back and forth. Written in Java with the Spring Boot framework, it communicates to the pod using Protobuf messages sent over a TCP socket, and displays information on the React frontend. The web interface is also included in here as a submodule.

How to run

Download the latest release from Github, and run:

$ java -jar base-station-2019.jar

Go to localhost:8080 for the gui.

Then run ./hyped (from the hyped-2019 repo) to start the pod, and you should see the pod connecting on the gui. Make sure to read this guide first.

Build project:

This project uses gradle as its build system. Only manually build the project instead of using the released jar file as explained above if you actually intend to work on the base-station. The gradle wrapper is already checked into this repo, so no need to explicitly download gradle (unless you want to).

Run:

$ ./gradlew build

(If on windows use gradlew.bat instead of ./gradlew)

This will create a jar file in build/libs/ that contains both the backend and the static frontend that it serves.


screenshot

About

Base station for HYPED 2019 (Responsible for TCP connection to pod and UDP connection to SpaceX, as well as web interface)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages