mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 15:13:33 +08:00
ekf2-flow: use same measurement prediction as in jacobian derivation
Also avoid double division in flow prediction
This commit is contained in:
committed by
Mathieu Bresciani
parent
82ea544e8c
commit
cdab0cb6e4
@@ -791,6 +791,7 @@ private:
|
||||
// calculate optical flow body angular rate compensation
|
||||
void calcOptFlowBodyRateComp(const flowSample &flow_sample);
|
||||
|
||||
float predictFlowHagl() const;
|
||||
float predictFlowRange() const;
|
||||
Vector2f predictFlow(const Vector3f &flow_gyro) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user