Browse Source

AP_OpticalFlow: Correct CX-OF Data Format Sequence

Correct CX-OF (a.k.a. UART Version PMW3901) Data Format Sequence
master
斯东Stone 6 years ago committed by Randy Mackay
parent
commit
c0e8a443af
  1. 8
      libraries/AP_OpticalFlow/AP_OpticalFlow_CXOF.cpp

8
libraries/AP_OpticalFlow/AP_OpticalFlow_CXOF.cpp

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

Loading…
Cancel
Save