From 036a1b0d2037dcab9965dee891fd178a4b4377b4 Mon Sep 17 00:00:00 2001 From: Shiv Tyagi Date: Tue, 25 Jan 2022 21:59:28 +0530 Subject: [PATCH] Sub: rename GUID to GUIP We have introduced separate logging for guided and attitude targets in guided mode in copter. This is to make it consistent with those changes --- ArduSub/Log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduSub/Log.cpp b/ArduSub/Log.cpp index cddca70741..482bf404d2 100644 --- a/ArduSub/Log.cpp +++ b/ArduSub/Log.cpp @@ -267,7 +267,7 @@ void Sub::Log_Write_GuidedTarget(uint8_t target_type, const Vector3f& pos_target // @Field: Id: Data type identifier // @Field: Value: Value -// @LoggerMessage: GUID +// @LoggerMessage: GUIP // @Description: Guided mode target information // @Field: TimeUS: Time since system startup // @Field: Type: Type of guided mode @@ -296,7 +296,7 @@ const struct LogStructure Sub::log_structure[] = { { LOG_DATA_FLOAT_MSG, sizeof(log_Data_Float), "DFLT", "QBf", "TimeUS,Id,Value", "s--", "F--" }, { LOG_GUIDEDTARGET_MSG, sizeof(log_GuidedTarget), - "GUID", "QBffffff", "TimeUS,Type,pX,pY,pZ,vX,vY,vZ", "s-mmmnnn", "F-000000" }, + "GUIP", "QBffffff", "TimeUS,Type,pX,pY,pZ,vX,vY,vZ", "s-mmmnnn", "F-000000" }, }; void Sub::Log_Write_Vehicle_Startup_Messages()