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
- Committer:
- _seminahn
- Date:
- 2021-04-02
- Revision:
- 0:4ff8aeb3e4d1
- Child:
- 2:0de4854743f7
File content as of revision 0:4ff8aeb3e4d1:
#ifndef ZETA_STM_KINETIC_GLOBALVARIABLE_H_
#define ZETA_STM_KINETIC_GLOBALVARIABLE_H_
/* global variables begin --------------------------------------------------- */
// Sonar variables
volatile float dist[NUM_SONAR] = {0.,};
//volatile float dist_raw[NUM_SONAR] = {0.,};
// subscriber variables
volatile bool isSubscribe = false;
// bluetooth variables
typedef struct bt_data_ {
int rec;
int sen;
}bt_data_t;
volatile bt_data_t bt_data;
volatile uint8_t NUC_sub_state = '\0';
volatile bool start_check = false;
// print variables
Vect3 gAcc_raw, gGyro_raw, gMag_raw;
float gQ[4],gTheta,gRoll,gPitch,gYaw;
/* global variables end ----------------------------------------------------- */
#endif