hybridgroup / node-bebop

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

moving commands speed parameter #53

Open CE93Geek opened 7 years ago

CE93Geek commented 7 years ago

Hi, I would like to know what is the unit used in implementing the speed parameter in the moving functions like "forward", "backward", "left" and "right". It says in the documentation that the speed are from 0 to 100 but what it is in term of what? like meter/sec? I need this information urgently as I am trying to make bebop moves in certain distance.

regards,

johan-olsson commented 7 years ago

I think it's the amount of forward tilt the drone has. Pretty sure you change it in the settings too but I guess that doesn't help you much. Can't you use the gps?

CE93Geek commented 7 years ago

@johan-olsson Hi, I didn't get what do mean by "forward tilt" could you please clarify it more? I really appreciate it. And for the GPS no I can't use it because in our project we are restricted to indoor experiments and the characteristic of our work is to plan autonomous navigation based on image processing (track target).

johan-olsson commented 7 years ago

I actually meant pitch I guess :) Aircraft_principal_axes. If you can't use GPS maybe this event is helpful SpeedChanged

CE93Geek commented 7 years ago

@johan-olsson I think you are right, I was reading /lib/bebop.js file and the forward function implemented as the change in the pitch value somehow. Thank you very much for your response.