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

Low Level Control #125

Closed Daomaster closed 9 years ago

Daomaster commented 9 years ago

I'm just wondering if there any way that I could just send the pitch roll yaw to the drone instead of tell it to go front left and right, since right now I wanted to do a PID control with the drone in order to work with tracking system later. If anyone could send me an example that would really helpful. Thanks

wiseman commented 9 years ago

You might want to take a look at page 36 of the AR.Drone Developer Guide, where it describes the PCMD and PCMD_MAG commands; As far as I know those are the only commands that let's you control the pitch/roll/yaw, and that's what the node-ar-drone Client.front, Client.back, etc. commands actually use.