top of page

A pathway of devices

  • Writer: teejaydub
    teejaydub
  • Oct 4, 2016
  • 1 min read

The framework for the chain of devices has been actually, successfully implemented!  What this means is, we've got communication between all of the components that need to be talking to one another.

Breaking it down even further, here's what we've done, in the order it would get executed:

  • Mobile phones connect to host machine

  • Gamepad loads in mobile browser on phone (iPhone or Android...or Windows phone)

  • Button presses on the browser gamepad are sent to the computer running Unity game engine

  • Unity parses the data from the phone, and sends it over USB Serial comms to the 'Tx' Arduino microcontroller

  • 'Tx' Arduino receives the command from Unity

  • 'Tx' Arduino sends out a pulse on the connected IR LED with a message specifying a vehicle and an action

  • 'Rx' Arduino on one of the RC vehicle receives the IR pulse through the IR sensor mounted on the top of the vehicle

  • Vehicle completes action and moves on the field

  • Webcam on host machine tracks the vehicle through a computer vision script written in Python

  • Python relays the location of the vehicle over UDP back to Unity

  • Unity updates the position of the virtual vehicle to match the location in real life, and handles any collisions and object interactions accordingly

The next couple weeks will be spent on scaled testing, polishing the games, and building the actual platform/mount for the projector.

I'd say expect some video and photos in the next week!

Or now.



Oh yeah, fireworks, scorekeeping, and a timer.

Comentários


bottom of page