With Scratch2Airborne, you can control Parrot Mini Drone series like Airborne Cargo from Scratch 1.4.
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.
- Tested only on MacOS 10.10.5(Yosemite). Might work on other platforms but not sure.
- Scratch 1.4
How to setup
Install source and libraries.
$ git clone email@example.com: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.
How to run
Enable "Remote Sensor Connections" on Scratch.
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.
The following commands are available.