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.
Dependencies: mbed X_NUCLEO_IHM03A1_for
Diff: variables.hpp
- Revision:
- 10:9e70619e97ab
- Parent:
- 8:310f9e4eac7b
- Child:
- 12:b0fc1d313813
--- a/variables.hpp Mon Mar 11 17:13:17 2019 +0000
+++ b/variables.hpp Fri Mar 15 11:09:37 2019 +0000
@@ -42,6 +42,7 @@
// define logic internal variables
double tractorSpeed_MtS_timed=0.0f; // tractor speed calculated from pulse interval time
+double oldLocalTractorSpeed=0.0f;
double speedForDisplay[5]={0.0f,0.0f,0.0f,0.0f,0.0f};
double totalSpeed=0.0f;
double OLDpulseSpeedInterval=1000.01f; // tractor speed calculated from pulse interval time
@@ -164,7 +165,7 @@
int firstStart=1;
int noSDzeroRequest=0;
int timeHole=0;
-int memoTimeHole=0;
+double memoTimeHole=0;
int lockStart=0;
uint8_t quincStart=0;
@@ -215,6 +216,7 @@
uint8_t seedSee=0;
uint8_t cntCellsCorrect=0;
+uint8_t cntSpeedError=0;
uint8_t all_semiFiniti = 0; // semi finiti (generato dal relativo sensore)
uint8_t all_pickSignal = 0; // errore segnale becchi (generato dal tempo tra un becco ed il successivo)