Skip to content

Instantly share code, notes, and snippets.

@jimweirich
Created November 7, 2012 21:36
Show Gist options
  • Save jimweirich/4034658 to your computer and use it in GitHub Desktop.
Save jimweirich/4034658 to your computer and use it in GitHub Desktop.
Flying the Parrot AR Drone via Ruby code
# See a video of this at: http://www.youtube.com/watch?v=jlKt2Ed-Y04&feature=youtu.be
require 'ardrone'
drone = ARDrone::Drone.new
drone.start
drone.take_off
sleep 5
drone.turn_right(1.0)
sleep 5
drone.turn_left(1.0)
sleep 5
drone.hover.land
sleep 5
drone.stop
@goyox86
Copy link

goyox86 commented Nov 7, 2012

Woot woot!

@garciadanny
Copy link

This is awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment