TRR 2018 / Mbed 2 deprecated biniou-TRR2019-DLVV

Dependencies:   mbed MPU6050

Revision:
10:e63fe4080760
Parent:
9:1b54bac6d9a7
Child:
11:2156cb77d0d6
--- a/log.h	Thu Oct 03 23:28:56 2019 +0000
+++ b/log.h	Fri Oct 04 09:46:00 2019 +0000
@@ -2,7 +2,7 @@
 #define H_LOG
 
 
-#define LOG_SIZE 2000
+#define LOG_SIZE 5000
 #include "mbed.h"
 
 typedef struct sample {
@@ -11,7 +11,7 @@
    double right_90;
    double left_45;
    double right_45;
-   double pwm_dir;
+   int pwm_dir;
    double odom;
    double speed;
 }s_Sample;
@@ -19,7 +19,9 @@
 
 void log_start(int duration_ms);
 void log_check();
+void log_pc();
 extern Serial rs_LOG_pc;
+//extern Serial rs_LOG_odroid;
 extern bool b_LOG_READY;
 extern s_Sample s_LOG_history[LOG_SIZE];
 extern int i_LOG_index_data;