forked from Archive/PX4-Autopilot
HACK: force the EKF to use its own gyro for flow compensation
This commit is contained in:
parent
99197919d7
commit
e9670be63d
|
@ -364,6 +364,7 @@ void EstimatorInterface::setOpticalFlowData(const flowSample &flow)
|
|||
|
||||
flowSample optflow_sample_new{flow};
|
||||
optflow_sample_new.time_us = time_us;
|
||||
optflow_sample_new.gyro_xyz.setNaN();
|
||||
|
||||
_flow_buffer->push(optflow_sample_new);
|
||||
|
||||
|
|
Loading…
Reference in New Issue