mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
Optical flow sensor code initial implementation (phase 1)
This commit is contained in:
parent
7ee82d6504
commit
0f2a814b57
23 changed files with 563 additions and 13 deletions
|
@ -94,6 +94,7 @@
|
|||
#include "sensors/pitotmeter.h"
|
||||
#include "sensors/compass.h"
|
||||
#include "sensors/gyro.h"
|
||||
#include "sensors/opflow.h"
|
||||
|
||||
#include "telemetry/telemetry.h"
|
||||
|
||||
|
@ -341,7 +342,7 @@ static bool mspFcProcessOutCommand(uint16_t cmdMSP, sbuf_t *dst, mspPostProcessF
|
|||
sbufWriteU8(dst, getHwGPSStatus());
|
||||
sbufWriteU8(dst, getHwRangefinderStatus());
|
||||
sbufWriteU8(dst, getHwPitotmeterStatus());
|
||||
sbufWriteU8(dst, HW_SENSOR_NONE); // Optical flow
|
||||
sbufWriteU8(dst, getHwOpticalFlowStatus());
|
||||
break;
|
||||
|
||||
case MSP_ACTIVEBOXES:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue