View Single Post
  #22   Spotlight this post!  
Unread 19-05-2016, 15:48
udpatil udpatil is offline
TALON 540 Lead Programmer
FRC #0540 (TALON 540)
Team Role: Programmer
 
Join Date: Dec 2015
Rookie Year: 2013
Location: Virginia
Posts: 7
udpatil is on a distinguished road
Re: Wearables in FRC

This is what it looked like when the driver was wearing it, with this picture being taken before the match: https://drive.google.com/file/d/0B_S...QwSVBFekU/view

Here you can see the secondary driver wearing it during the match as well:
https://drive.google.com/file/d/0B_S...YtUGFxOVE/view

So, time for some technical talk
We hosted network tables on our robot to which both the robot's sensors (infrared, pressure, gyro, etc.) and data from the coprocessor (raspberry pi with pi camera tracking with OpenCV). This data was updated throughout the match, and we had a jar file running on the driver station laptop using the windows networktables library to access the network tables on the robot. When setting up the Vuzix smart glasses, an ADB port forward was used to connect a port on the laptop to the smart glasses. The jar on the laptop created a socket at the same port and the Android app created using Android Studio read from the appropriate TCP ports. Then, the data was received by the smart glasses and depending on the values that the glasses received, lights were colored or uncolored on the android app.

Lemme know if any other details are requested
Reply With Quote