hybridgroup / node-bebop

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

Problem with battery get #31

Closed brunoua closed 8 years ago

brunoua commented 8 years ago

Hi @deadprogram , I do not know if anyone has noticed, but the battery event is only released if the battery status change.

There is no possibility to pick immediately the battery status?

greetings

deadprogram commented 8 years ago

Hi @brunoua

This is what starts the drone sending notifications for all state changes https://github.com/hybridgroup/node-bebop/blob/master/lib/bebop.js#L251 so I'm not sure there is anything to be done about that? You could perhaps try calling it again?

brunoua commented 8 years ago

Hi @deadprogram , It was my mistake. The problem is solved.

Thank you

deadprogram commented 8 years ago

OK, great. Closing.