GithubHelp home page GithubHelp logo

abrabr / leap_sphero Goto Github PK

View Code? Open in Web Editor NEW

This project forked from charliegerard/leap_sphero

0.0 2.0 0.0 1.52 MB

Experiment using the Leap Motion to control the Sphero

License: Other

JavaScript 61.60% CSS 29.23% HTML 9.17%

leap_sphero's Introduction

#Control the Sphero with the Leap Motion.

####To run this app, follow these steps:

  1. Clone this repo.
  2. Install node on your computer if you haven't already http://nodejs.org
  3. Run 'npm install' in your terminal to install the dependencies needed.
  4. To find the reference of the Sphero on your computer, turn your bluetooth on, connect to the Sphero and then, run 'ls /dev/tty.Sphero*' in your Terminal and copy the path returned.
  5. Paste this path in the index.js file when the 'device' variable is declared.
  6. Run 'node app.js' in your terminal.

And you're done! You should see the Sphero connected in your terminal.

Have fun and let me know if you have any issues or questions!

##Current controls:

  • Move your fingers/hand UP or DOWN to make the ball stop.
  • Push forward to make Sphero go straight ahead (heading of 0°)
  • Pull backward to make Sphero go backward (heading of 180°)
  • Swipe left to make Sphero go left (heading of 270°)
  • Swipe right to make Sphero go right (heading of 90°)

##Next steps:

  • Try to create modules to make the Sphero move following a pattern (ex: square).

leap_sphero's People

Contributors

abrabr avatar charliegerard avatar s-taylor avatar

Watchers

 avatar  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.