GithubHelp home page GithubHelp logo

mapconcierge / scratch2airborne Goto Github PK

View Code? Open in Web Editor NEW

This project forked from champierre/scratch2airborne

0.0 2.0 0.0 3 KB

Control Parrot mini drone Airborne from Scratch

JavaScript 100.00%

scratch2airborne's Introduction

Scratch2Airborne(a.k.a. Scratch2Drone)

With Scratch2Airborne, you can control Parrot Mini Drone series like Airborne Cargo from Scratch 1.4.

Scratch2Airborne Demo

CAUTION!!! Drones could be super dangerous. Make sure to have children wear long sleeve shirts, gloves, and goggles if you use them in workshops, etc. My drone could cut houseplant leaf with its propeller when it accidentally grazed.

danger

Requirements

  • Tested only on MacOS 10.10.5(Yosemite). Might work on other platforms but not sure.
  • Scratch 1.4
  • Node.js

How to setup

Install source and libraries.

$ git clone [email protected]:champierre/scratch2airborne.git
$ npm i noble
$ npm i rolling-spider

Power on the drone and get uuid, the id to specify the device.

$ cd scratch2airborne
$ node find.js

Replace "CHANGE HERE" in scratch2airborne.js with the uuid.

change_here

How to run

Enable "Remote Sensor Connections" on Scratch.

RSC

Run the script.

$ node scratch2airborne.js

If a message saying "SESSION START" appears, your drone is successfully connected.

You can control the drone by "broadcast" blocks.

Scratch Project

The following commands are available.

  • takeoff
  • forward
  • right
  • left
  • backward
  • up
  • down
  • flip
  • backflip
  • hover
  • land

scratch2airborne's People

Contributors

champierre avatar

Watchers

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