Skip to content

Instantly share code, notes, and snippets.

View csanz's full-sized avatar
🎯
Focusing

Christian Sanz csanz

🎯
Focusing
View GitHub Profile
src csanz [master] $ brew doctor
Warning: Some directories in your path end in a slash.
Directories in your path should not end in a slash. This can break other
doctor checks. The following directories should be edited:
/Users/csanz/Applications/gcc-arm-none-eabi-4_7-2013q1/bin/
src csanz [master] $
src csanz [master] $ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
@csanz
csanz / scheduleanddrone.md
Created November 24, 2012 21:22
Drone Olympics Schedule and Drones

Get a Drone

Get a drone!

If you DON’T have your own drone we recommend you get one right away. This is not a hackathon, so you need to come in ready to demo. You can go to the nearest Costco and pick one up (Most hackers have already done this). They are friggin fun This is what we usually buy: https://gist.github.com/4132002

Schedule

Here is the schedule for December 1st

@csanz
csanz / contribute.md
Created November 24, 2012 21:20
Drone Olympics Contribute

Contribute

Whether you decide to do a demo/compete or simply just add more functionality to the ar-drone Node.js library we welcome all of it.

If you do decide to contribute, we could really use some help creating a library that gives us the drone’s absolute position. The drone tends to drift a lot and it could be many factors, wind, floor, etc. Here is a forum post detailing some of the challenges http://www.ardrone-flyers.com/forum/viewtopic.php?f=23&t=3558

If someone wants to take on this challenge the community will LOVE you. This will give other drone developers the ability to do more complex flying routines.

Here is the issue for questions, comments and suggestions. Let us know if you are going to be working on this, so we don’t have multiple hackers working on this separately. https://github.com/nodecopter/droneolympics.com/issues/2

@csanz
csanz / challengesideas.md
Created November 24, 2012 21:17
Drone Olympics Challenges & Ideas

Challenges & Ideas

You can do anything you want. Obviously the more challenging the better.

Examples:

  • Fly in a circle, eight or other pattern
  • Coordinate flight with another drone
  • Detect a face / follow that person
  • Recognize commands via hand gestures
@csanz
csanz / whattobuy.md
Created November 22, 2012 16:30
Drone Specs

#Drone Specs

Space Specs

  • Flat Area
  • Great wifi
  • Hopefully High ceilings without any crazy wires (eg. 120ft high ceilings in Berlin)

Spare parts

@csanz
csanz / flyingrobots.js
Created October 27, 2012 14:58
programming flying robots with node.js is easy
var arDrone = require('ar-drone');
var client = arDrone.createClient();
client.takeoff();
client
.after(5000, function() {
this.clockwise(0.5);
})
.after(3000, function() {
@csanz
csanz / NodeDublin.md
Created October 16, 2012 05:30
NodeDublin FTW

Outward journey

British Airways

  • 16/10/2012 San Francisco(SFO) Departure: 10:50

  • 16/10/2012 Chicago Intl. Apt. O'Hare(ORD) Arrival: 17:05

      With: BA
      Flight number: BA4360
    
@csanz
csanz / allmembers.js
Created August 31, 2012 04:15
Get all members from all communities mapreduce
map = function() { emit('stats.users', 1) }
red = function(k, vals) {
var i, sum = 0
for (i in vals) {
sum += vals[i]
}
return sum
}