Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: log.h
- Revision:
- 12:58ad06f9847d
- Parent:
- 11:2156cb77d0d6
--- a/log.h Fri Oct 04 09:58:51 2019 +0000 +++ b/log.h Fri Oct 04 22:20:23 2019 +0000 @@ -2,7 +2,8 @@ #define H_LOG -#define LOG_SIZE 5000 +#define LOG_SIZE 3000 +#define LOG_PERIOD_MS 40 #include "mbed.h" typedef struct sample { @@ -14,6 +15,15 @@ int pwm_dir; double odom; double speed; + double angle_bord0; + double angle_bord1; + double angle_bord2; + double angle_bord3; + double angle_bord4; + double angle_bord5; + double angle_pos; + double angle; + double distParcourue; }s_Sample; @@ -21,8 +31,7 @@ void log_check(); void log_stop(); void log_pc(); -extern Serial rs_LOG_pc; -//extern Serial rs_LOG_odroid; +extern Serial rs_LOG; extern bool b_LOG_READY; extern s_Sample s_LOG_history[LOG_SIZE]; extern int i_LOG_index_data;