CSV log file format
Posted: Thu Dec 17, 2015 5:16 pm
I have found that logging the Telemetry has a little bug in the Scailer output..
File: logs.cpp
Func: void writeLogs()
#ifdef BLUETOOTH
f_printf(&g_oLogFile, "%d.%d,", qr.quot, qr.rem ) ;
#else
f_printf(&g_oLogFile, "%d.%d\n", qr.quot, qr.rem ) ;
#endif
The newline on the else is causing the output to as you can imagine have a new line in it.
Mike, I can make the change, however have had no luck compiling mo own rom files and flashing them so I can't test any changes I would make, so I feel it would be bad for me to check in something I could not test.
Dave
Example:
Time,Elapsed,Valid,RxRSSI,TxRSSI,A1,A2,AltB,AltG,Temp1,Temp2,RPM,Amps,Volts,mAH,TxBat,Vspd,RxV,Lat,Long,Fuel,Gspd,SC1,SC2,SC3,SC4,SC5,SC6,SC7,SC8
22:49:13,0:12:53,32,87,76,0.0,0.0,0,0,28,0,0,0.0,12.4,0,7.4,0,0.0,100.0000N,100.0000E,0,0,0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
22:49:14,0:12:55,33,87,76,0.0,0.0,0,0,28,0,0,0.0,12.4,0,7.4,0,0.0,100.0000N,100.0000E,0,0,0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
File: logs.cpp
Func: void writeLogs()
#ifdef BLUETOOTH
f_printf(&g_oLogFile, "%d.%d,", qr.quot, qr.rem ) ;
#else
f_printf(&g_oLogFile, "%d.%d\n", qr.quot, qr.rem ) ;
#endif
The newline on the else is causing the output to as you can imagine have a new line in it.
Mike, I can make the change, however have had no luck compiling mo own rom files and flashing them so I can't test any changes I would make, so I feel it would be bad for me to check in something I could not test.
Dave
Example:
Time,Elapsed,Valid,RxRSSI,TxRSSI,A1,A2,AltB,AltG,Temp1,Temp2,RPM,Amps,Volts,mAH,TxBat,Vspd,RxV,Lat,Long,Fuel,Gspd,SC1,SC2,SC3,SC4,SC5,SC6,SC7,SC8
22:49:13,0:12:53,32,87,76,0.0,0.0,0,0,28,0,0,0.0,12.4,0,7.4,0,0.0,100.0000N,100.0000E,0,0,0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
22:49:14,0:12:55,33,87,76,0.0,0.0,0,0,28,0,0,0.0,12.4,0,7.4,0,0.0,100.0000N,100.0000E,0,0,0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0