Skip to content

ashrafjfr/Laser-Tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laser Tag AR System

Links to Individual Subcomponents README

Full System Setup

Ensure that the prerequisites and set-up are done for each individual subsystem, and start them in the order below.

Hardware

Guns:

  • Upload Gun 1’s beetle with this code(internal_comms/Player 1/gun_beetle/gun_beetle.ino)
  • Upload Gun 2’s beetle with this code(internal_comms/Player 2/gun_beetle/gun_beetle.ino)
  • Insert 2 AA batteries each into Gun 1 and Gun 2 battery holders

Vests:

  • Upload Vest 1’s beetle with this code(internal_comms/Player 1/vest_beetle/vest_beetle.ino)
  • Upload Vest 2’s beetle with this code(internal_comms/Player 2/vest_beetle/vest_beetle.ino)
  • Insert 2 AA batteries each into Vest 1 and Vest 2 battery holders

Gloves:

  • Upload Glove 1’s beetle with this code(internal_comms/Player 1/imu_beetle/imu_beetle.ino)
  • Upload Glove 2’s beetle with this code(internal_comms/Player 2/imu_beetle/imu_beetle.ino)
  • Insert 2 AAA batteries each into Glove 1 and Glove 2 battery holders

Eval Server

Ensure that the eval server is awaiting a TCP connection from the Ultra96. The WebSocket client should be connected, with a successful handshake, and the eval port should be visible. Password key is 1111111111111111

Ultra96

ssh -L 5000:127.0.0.1:5000 -L 5001:127.0.0.1:5001 xilinx@makerslab-fpga-17.d2.comp.nus.edu.sg
~$ <key in ultra96 password: xilinx>
~$ su
~$ <key in password: xilinx>
~$ source /etc/profile.d/pynq_venv.sh
~$ cd ultra96
~/ultra96$ python main.py
~/ultra96$ <Enter port number>

Relay Node 1

~$ cd internal_comms/Player\ 1
~/internal_comms/Player 1$ python3 main.py

Relay Node 2

~$ cd internal_comms/Player\ 2
~/internal_comms/Player 2$ python3 main.py

About

This repository contains code for my capstone project which is to create a laser tag game from scratch. This project was done as a group and my role was as Hardware Sensors Engineer. The other 4 roles were AI, Internal Communications, External Communications, and Visualiser.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors