felixge / node-ar-drone

A node.js client for controlling Parrot AR Drone 2.0 quad-copters.
http://nodecopter.com/
MIT License
1.76k stars 428 forks source link

Battery status for the REPL with `battery()` #24

Closed janl closed 11 years ago

yocontra commented 11 years ago

Shouldn't the function return the value instead of logging it so it can be used in programs too?

janl commented 11 years ago

heh, yeah, that’s a fairly obvious flaw, thanks :)

janl commented 11 years ago

I opened a new one https://github.com/felixge/node-ar-drone/pull/26

Sorry for the mess.