##Enterprise Bridge Simulator
Our Space Apps Challenge entry is a USS Enterprise Bridge simulator. Using just your voice, sound a red alert, fire your phasers, or announce that the Eagle has landed on the moon.
See our project page at Enterprise Bridge Simulator or our web site at www.EnterpriseBridge.us.
Our system was build for the Rochester Space Apps Challenge held at the Rochester Institute of Technology (RIT). Our four-person team represented the local AppRochester tech group and included (in alphabetical order):
- Tanweer Alam
- Todd Bernhard
- Bob Manard
- Tim Poulsen
Our solution used an iOS app to accept your voice input. It converts your speech to text, sending the resulting command to a NodeJS server which then played sound, turned on lights, and flashed the server's computer screen.
Technologies used include:
- ObjectiveC/Xcode
- NodeJS
- HTML/JavaScript
- NASA Sound Archives https://soundcloud.com/nasa/sets
- PolitePix OpenEars Open Source Speech Recognition http://www.politepix.com/openears/
- Belkin WeMo Home Automation Switches
Note: We are not including the sound files in this repository to avoid licensing issues. We don't necessarily have permissions to redistribute the files. But, you can get the necessary sounds from the NASA Sound Archive and SoundBoard.
- Computer supporting Node.js
- Speakers
- WeMo switches -- we used two, one connected to a light and one to a fan (to simulate the noise associated with an alert)
- iOS device, Xcode, and required provisioning profiles to install a development build of the app onto your device
Clone this repo to your computer:
- Make a directory, as needed, and change into that directory
- Run
git clone https://github.com/skypanther/2016spaceapps.git
- Change into the 2016spaceapps folder
- Open
OpenEarsSampleApp.xcodeproj
in Xcode - Open OpenEarsSampleApp, ViewController.m and edit the following line to match your server's IP address and port
NSString * server =@"http://172.20.10.7:8080/"
(this must match the address and port you configure in the server, see below). - Connect your device
- Specify your device as the target and choose Run on device
See the readme file in the server folder for server setup instructions.
- Open a browser and load
http://your_ip:port/
, for example http://192.168.1.10:8080. This will be the "red screen" which will flash for some actions. You can make this full screen. - For testing, from another device or other browser window, open
http://your_ip:port/?action=<action>
for example http://192.168.1.10:8080?action=redalert. You can use any of the following:
- redalert
- intruder
- statusreport
- firephotontorpedos
- firephasers
- selfdestruct
- moonlanding
With the app running on your iOS device, speak one of the commands listed at the top of this page. After a moment, the sounds should play and lights flash.
Voice commands supported:
- red alert
- intruder
- status report
- fire photon torpedos
- fire phasers
- self destruct
- moon landing