Skip to content
Snippets Groups Projects
Commit b19ec835 authored by dawehr's avatar dawehr
Browse files

Made quad log file compatible with analysis scripts.

parent 9e3f7439
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment