Skip to content

karmanyaahm/UT-Domination

Repository files navigation

UT Domination Developer Guide

What is UT Domination

UT Domination is a game where players capture buildings across UT Austin and west campus by spending more time in a building than the opposing team.

Image Demonstrations

frontend

20241103_103731

20241103_103704

Overall Hierarchial Structure

Frontend

For the frontend, we utilized nextJS and mapbox (https://www.mapbox.com/) for our UI. We utilize mapbox for the map data and displays it individually for the user. This all communicates with the MQTT server that is running on a raspberry pi as well

frontend

Backend

The backend is ran on MQTT on multiple nodes such as the LED node, game server node, and the mapquest node. All of them run on a Raspberry Pi

3D Printing

For 3D printing, we utilized a entire pipeline from Google Earth that takes in a Google Earth snapshot of a cityscape and bring it into Blender. We utilize a Google Earth API through Google Cloud to access the map for Blosm. We utilized the Blosm (https://github.com/vvoovv/blosm) extension to extract various cityscapes of UT Austin.

image

We then convert the mesh from Blosm and simplify the mesh significantly.

image2

With the simplified mesh, we are able to scale it down and convert it to an STL file. We take that STL file into bambu slicer and make holes in the buildings using the add negative part feature, then we print the part.

Location Binning

Using Google Earth, we are able to draw out polygons around major areas of interest

image

We then can make multiple of them and have them exported as a KML file

image

Afterwards, we export the KML file to parse out the LED name for the ordering with a Python script and that information is sent to the backend

LED Setup

We obtain the ordering of the LEDs from the Location Binning and feed it into the LED drivers which map the output of each place on a map to the order of the LED. From there we use a LED node to update the values of the LED on the MQTT server. We mapped the LED setup with drivers to be indexed with our daisy chained indices.

Releases

No releases published

Packages

No packages published