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 PowerControl
Fork of Projet_S5 by
Analyzer Class Reference
Class that analyzes the mouvement. More...
#include <analyzer.h>
Public Member Functions | |
| Analyzer () | |
| Constructor. | |
| ~Analyzer () | |
| Destructor. | |
| void | initialize () |
| Initialize analyzer. | |
| void | setMinMax (signed char *values) |
| Set the minimum and maximum for each axe. | |
| void | setInitial (signed char *value) |
| Set the initial value for each axe. | |
| void | checkMouvement () |
| Analyze the mouvement with initial, min and max of each axes. | |
Detailed Description
Class that analyzes the mouvement.
Class in C++ that analyzes data of acceloremeter and find the mouvement
Definition at line 32 of file analyzer.h.
Constructor & Destructor Documentation
| Analyzer | ( | ) |
Constructor.
Definition at line 11 of file analyzer.cpp.
| ~Analyzer | ( | ) |
Destructor.
Definition at line 15 of file analyzer.cpp.
Member Function Documentation
| void checkMouvement | ( | ) |
Analyze the mouvement with initial, min and max of each axes.
Create value in hexadecimal and find this value in the map
Definition at line 59 of file analyzer.cpp.
| void initialize | ( | ) |
Initialize analyzer.
Definition at line 20 of file analyzer.cpp.
| void setInitial | ( | signed char * | value ) |
Set the initial value for each axe.
- Parameters:
-
value The initial value
Definition at line 141 of file analyzer.cpp.
| void setMinMax | ( | signed char * | values ) |
Set the minimum and maximum for each axe.
- Parameters:
-
values Values to compare with the min and max
Definition at line 52 of file analyzer.cpp.
Generated on Thu Jul 14 2022 10:43:21 by
1.7.2
