Johann Philipp Strathausen

maker of dracula.js co-founder of FitAnalytics

September 20th, 2013

Nodecopter Birthday Bash

I've had a lot of fun at my second nodecopter event with my friend vog.

The venue was an old church boasting huge windows, providing us with lots of light and space for the day.

Our idea was to control a Parrot AR.Drone solely via the command line, including a live ASCII video streaming!

In one afternoon, we wrote the ascii drone!

Challenges

As usual, the WiFi was too jammed the closer the demo came. Thanks to a bug in my code, our drone was clearing the Club Mate bottles of our neighbours more than once, quite successfully!

One issue Volker had was setting up the image stream to properly pipe through the ASCII converter - he ended up using temporary files instead, for each frame! Interestingly, that was still sufficiently fast.

In the end we had something pretty much demoable, a Matrix style drone interface.

The Code

The code is on GitHub: command line control for the copter and streaming the video as text.

Disclaimer: The code quality has been heavily influenced by beer and is of limited elegance.