AP_OpticalFlow: Correct CX-OF Data Format Sequence

Correct CX-OF (a.k.a. UART Version PMW3901) Data Format Sequence
This commit is contained in:
斯东Stone 2019-05-28 21:43:10 +08:00 committed by Randy Mackay
parent 66fa948e27
commit c0e8a443af
1 changed files with 4 additions and 4 deletions

View File

@ -19,10 +19,10 @@
CXOF serial packet description
byte0: header (0xFE)
byte1: reserved
byte2: x-motion high byte;
byte3: x-motion low byte;
byte4: y-motion high byte;
byte5: y-motion low byte;
byte2: x-motion low byte;
byte3: x-motion high byte;
byte4: y-motion low byte;
byte5: y-motion high byte;
byte6: t-motion
byte7: surface quality
byte8: footer (0xAA)