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 427 forks source link

More protocol commands #40

Open kanzure opened 11 years ago

kanzure commented 11 years ago

These seem to be the other commands used in the protocol. These don't seem to be currently implemented in the client (yet).

AT*REF=%d,%d
AT*PMODE=%d,%d
AT*MISC=%d,%d,%d,%d,%d
AT*GAIN=%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d
AT*ANIM=%d,%d,%d
AT*VISP=%d,%d,%d,%d,%d,%d,%d,%d,%d,%d
AT*VISO=%d,%d
AT*CAP=%d,%d,%d
AT*ZAP=%d,%d
AT*CAD=%d,%d,%d
AT*FTRIM=%d
AT*MTRIM=%d,%d,%d,%d
AT*POL=%d,%d,%d,%d,%d,%d
AT*PCMD=%d,%d,%d,%d,%d,%d
AT*PCMD_MAG=%d,%d,%d,%d,%d,%d,%d,%d
AT*CONFIG=%d,"%s","%s"
AT*CONFIG_IDS=%d,"%s","%s","%s"
AT*CTRL=%d,%d,%d
AT*LED=%d,%d,%d,%d
AT*COMWDG=%d
AT*PWM=%d,%d,%d,%d,%d
AT*AFLIGHT=%d,%d
AT*CALIB=%d,%d
AT*VICON=%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d

Obviously, it will take some more work to figure each of these out, but this should be a good starting point based on /bin/program.elf.

This was from version ardrone2_v2.3.3.

felixge commented 11 years ago

Yeah, there are definitely more commands and it'd be awesome to support them. A few of these have documentation in Parrots SDK PDF. A few others may be commands that are deprecated or not working. So what somebody needs to sit down and play with it : )