mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_NavEKF2: minor spelling fixes
This commit is contained in:
parent
3febd78943
commit
88a3bfeccb
@ -34,7 +34,7 @@ void NavEKF2_core::SelectFlowFusion()
|
|||||||
// Perform tilt check
|
// Perform tilt check
|
||||||
bool tiltOK = (prevTnb.c.z > frontend->DCM33FlowMin);
|
bool tiltOK = (prevTnb.c.z > frontend->DCM33FlowMin);
|
||||||
// Constrain measurements to zero if takeoff is not detected and the height above ground
|
// Constrain measurements to zero if takeoff is not detected and the height above ground
|
||||||
// is insuffient to achieve acceptable focus. This allows the vehicle to be picked up
|
// is insufficient to achieve acceptable focus. This allows the vehicle to be picked up
|
||||||
// and carried to test optical flow operation
|
// and carried to test optical flow operation
|
||||||
if (!takeOffDetected && ((terrainState - stateStruct.position.z) < 0.5f)) {
|
if (!takeOffDetected && ((terrainState - stateStruct.position.z) < 0.5f)) {
|
||||||
ofDataDelayed.flowRadXYcomp.zero();
|
ofDataDelayed.flowRadXYcomp.zero();
|
||||||
|
Loading…
Reference in New Issue
Block a user