hybridgroup / node-bebop

A Node.js client for controlling Parrot Bebop & Bebop2 quadcopters.
http://nodebebop.com
MIT License
146 stars 60 forks source link

how can i get the height information? #24

Closed xxliefde closed 8 years ago

deadprogram commented 8 years ago

Hi, @xliefde you should listen for the AltitudeChanged event: https://github.com/hybridgroup/node-bebop#altitudechanged

https://github.com/hybridgroup/node-bebop/blob/master/examples/events.js shows how to subscribe to events.

Hope that helps!

xxliefde commented 8 years ago

it worked ! Thanks :)

deadprogram commented 8 years ago

Glad to hear it!

Closing this issue.

CE93Geek commented 7 years ago

@xliefde hi, may I know how did it work with you? I subscribed the event and it was triggered even though bebop didn't takesoff yet, also it just indicated that the altitude changed, how can I get the exact height im meters for example?