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.
variables/globalVariable.h@0:4ff8aeb3e4d1, 2021-04-02 (annotated)
- Committer:
- _seminahn
- Date:
- Fri Apr 02 05:24:49 2021 +0000
- Revision:
- 0:4ff8aeb3e4d1
- Child:
- 2:0de4854743f7
top_module
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| _seminahn | 0:4ff8aeb3e4d1 | 1 | #ifndef ZETA_STM_KINETIC_GLOBALVARIABLE_H_ |
| _seminahn | 0:4ff8aeb3e4d1 | 2 | #define ZETA_STM_KINETIC_GLOBALVARIABLE_H_ |
| _seminahn | 0:4ff8aeb3e4d1 | 3 | /* global variables begin --------------------------------------------------- */ |
| _seminahn | 0:4ff8aeb3e4d1 | 4 | // Sonar variables |
| _seminahn | 0:4ff8aeb3e4d1 | 5 | volatile float dist[NUM_SONAR] = {0.,}; |
| _seminahn | 0:4ff8aeb3e4d1 | 6 | //volatile float dist_raw[NUM_SONAR] = {0.,}; |
| _seminahn | 0:4ff8aeb3e4d1 | 7 | |
| _seminahn | 0:4ff8aeb3e4d1 | 8 | // subscriber variables |
| _seminahn | 0:4ff8aeb3e4d1 | 9 | volatile bool isSubscribe = false; |
| _seminahn | 0:4ff8aeb3e4d1 | 10 | |
| _seminahn | 0:4ff8aeb3e4d1 | 11 | // bluetooth variables |
| _seminahn | 0:4ff8aeb3e4d1 | 12 | typedef struct bt_data_ { |
| _seminahn | 0:4ff8aeb3e4d1 | 13 | int rec; |
| _seminahn | 0:4ff8aeb3e4d1 | 14 | int sen; |
| _seminahn | 0:4ff8aeb3e4d1 | 15 | }bt_data_t; |
| _seminahn | 0:4ff8aeb3e4d1 | 16 | volatile bt_data_t bt_data; |
| _seminahn | 0:4ff8aeb3e4d1 | 17 | volatile uint8_t NUC_sub_state = '\0'; |
| _seminahn | 0:4ff8aeb3e4d1 | 18 | volatile bool start_check = false; |
| _seminahn | 0:4ff8aeb3e4d1 | 19 | |
| _seminahn | 0:4ff8aeb3e4d1 | 20 | // print variables |
| _seminahn | 0:4ff8aeb3e4d1 | 21 | Vect3 gAcc_raw, gGyro_raw, gMag_raw; |
| _seminahn | 0:4ff8aeb3e4d1 | 22 | float gQ[4],gTheta,gRoll,gPitch,gYaw; |
| _seminahn | 0:4ff8aeb3e4d1 | 23 | /* global variables end ----------------------------------------------------- */ |
| _seminahn | 0:4ff8aeb3e4d1 | 24 | #endif |