semin ahn / Mbed OS zeta_stm_kinetic

Dependencies:   BufferedSerial

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