Skip to content

Instantly share code, notes, and snippets.

@jimweirich
Created November 9, 2012 23:04
Show Gist options
  • Save jimweirich/4048898 to your computer and use it in GitHub Desktop.
Save jimweirich/4048898 to your computer and use it in GitHub Desktop.
Ruby in Flight - Rock the Cradle
require 'argus'
# Video at: http://youtu.be/6V7hTH35xWw
drone = Argus::Drone.new
drone.start
drone.take_off
sleep 5
2.times do
drone.left(0.3)
sleep 1
drone.right(0.3)
sleep 1
end
drone.hover
sleep 1
drone.land
sleep 5
drone.stop
@jimweirich
Copy link
Author

@jimweirich
Copy link
Author

You can find the library at: https://github.com/jimweirich/argus
(WARNING: Experimental, no docs yet, subject to change, may cause cancer)

@wndxlori
Copy link

Wicked!

@erikh
Copy link

erikh commented Nov 10, 2012

This is awesome.

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