Code Monkey home page Code Monkey logo

guardian's Introduction

Guardian

A mobile-first app that helps you get home safely.

This was our final project at DevBootcamp. Using a combo of app + hardware, we used a Parrot AR.Drone 2.0 to monitor User's progress for short (up to 10 minute) walks. Future iteration would include the feature of a drone auto-following user.

Challenge: The drone communicates to controller over wifi. We were unable, on such short timeframe, to figure out how to utilize both wifi (to connect with drone) as well as data (to connect with app server).

Solution: The app sent command to a second server which issued the commands for the drone to take-off, walk forward, and land (instead of communicating with the drone itself).

Images

images

Features

Push the Walk Me Home button

  • Drone lifts off
  • Drone begins video recording
  • Text message sends to friend with link to video stream

Enter location

  • Geolocation map is added to video stream page so that friend knows exactly where user is

Live connection communication

  • Friend clicks button across top of screen to indicate they're watching

  • User's phone is updated to say that their friend is watching

    ** Challenge:** How to have one server responding to both User and Friend's clients.

    ** Solution:** Use setInterval function with a heartbeat to monitor change in event state.

Push the Safe button upon arrival

  • Lands the drone
  • Ends video stream
  • Triggers change in friends view

Tech stack

  • Ruby on Rails
  • PostgreSQL
  • Javascript / Ajax
  • Twilio API
  • Google GeoLocation API

My Role

Rails backend, most of the js/ajax functionality & majority of the CRUD views

Team

  • Armon Arcuri @armoney
  • Eric Booker @ericbooker12
  • Jason Lorentzen @codejlo
  • Shawn Tuttle @shawnte

guardian's People

Contributors

shawnte avatar armoney avatar ericbooker12 avatar codejlo avatar

Stargazers

Max Bigras avatar  avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.