From 6c20264d9ccb0967490a3a5f232a07feb068141f Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 12 May 2020 16:22:36 +0900 Subject: [PATCH] AP_NavEKF3: minor comment fix --- libraries/AP_NavEKF3/AP_NavEKF3_PosVelFusion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_NavEKF3/AP_NavEKF3_PosVelFusion.cpp b/libraries/AP_NavEKF3/AP_NavEKF3_PosVelFusion.cpp index 43423872de..f5d0a459e5 100644 --- a/libraries/AP_NavEKF3/AP_NavEKF3_PosVelFusion.cpp +++ b/libraries/AP_NavEKF3/AP_NavEKF3_PosVelFusion.cpp @@ -20,7 +20,7 @@ extern const AP_HAL::HAL& hal; // Do not reset vertical velocity using GPS as there is baro alt available to constrain drift void NavEKF3_core::ResetVelocity(void) { - // Store the position before the reset so that we can record the reset delta + // Store the velocity before the reset so that we can record the reset delta velResetNE.x = stateStruct.velocity.x; velResetNE.y = stateStruct.velocity.y; @@ -64,7 +64,7 @@ void NavEKF3_core::ResetVelocity(void) outputDataDelayed.velocity.x = stateStruct.velocity.x; outputDataDelayed.velocity.y = stateStruct.velocity.y; - // Calculate the position jump due to the reset + // Calculate the velocity jump due to the reset velResetNE.x = stateStruct.velocity.x - velResetNE.x; velResetNE.y = stateStruct.velocity.y - velResetNE.y;