From b19ec835f39c609388392c235ddc526327082090 Mon Sep 17 00:00:00 2001
From: David Wehr <dawehr@iastate.edu>
Date: Sun, 26 Mar 2017 04:51:45 -0500
Subject: [PATCH] Made quad log file compatible with analysis  scripts.

---
 quad/src/quad_app/log_data.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/quad/src/quad_app/log_data.c b/quad/src/quad_app/log_data.c
index d7a361dfe..c65e1fa36 100644
--- a/quad/src/quad_app/log_data.c
+++ b/quad/src/quad_app/log_data.c
@@ -187,7 +187,7 @@ void printLogging(hardware_t *hardware_struct, log_t* log_struct, parameter_t* p
 	// Comment header
 	safe_sprintf_cat(&buf, "# MicroCART On-board Quad Log\n# Sample size: %d\n", arrayIndex);
 	// Header names for the pre-defined values
-	safe_sprintf_cat(&buf, "time\taccel_x\taccel_y\taccel_z\tgyro_x\tgyro_y\tgyro_z");
+	safe_sprintf_cat(&buf, "%Time\taccel_x\taccel_y\taccel_z\tgyro_x\tgyro_y\tgyro_z");
 
 	int i;
 	// Print all the recorded block parameters
@@ -209,7 +209,7 @@ void printLogging(hardware_t *hardware_struct, log_t* log_struct, parameter_t* p
 
 	// Send units header
 	buf.size = 0;
-	safe_sprintf_cat(&buf, "s\tG\tG\tG\trad/s\trad/s\trad/s"); // The pre-defined ones
+	safe_sprintf_cat(&buf, "&s\tG\tG\tG\trad/s\trad/s\trad/s"); // The pre-defined ones
 	safe_sprintf_cat(&buf, units_output.str);
 	safe_sprintf_cat(&buf, units_param.str);
 	safe_sprintf_cat(&buf, "\n");
-- 
GitLab