ロケットロガーのセンサ関連を管理するプログラム
Dependencies: BMP280 BMX055 ublox_UBX
Fork of SensorManager by
Diff: obsvdStruct.h
- Revision:
- 0:b6301e4d05a5
diff -r 000000000000 -r b6301e4d05a5 obsvdStruct.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/obsvdStruct.h Tue Feb 13 05:22:55 2018 +0000 @@ -0,0 +1,53 @@ +#ifndef OBSVDSTRUCT +#define OBSVDSTRUCT + +//全ての観測データを収納する型 +typedef struct obsvdData{ + + int Tim; + + int Lon; + int Lat; + int GHeight; //GPS高度 + + int VelN; + int VelE; + int VelD; + + int Acc[3]; + int Gyr[3]; + int Mag[3]; + + int PHeight; //気圧 + + +}obsvdData; + +typedef struct timData{ + int Year; + int Month; + int Day; + int Hour; + int Min; + int Sec; +}tim; + +typedef enum state{ + WAIT, + MANUAL, + AUTO, + READ, + STREAM, + CONFIG +}state; + +//ログの状態を表す +typedef enum logstate{ + STOP, + STBY, + RUNTIME, + FIN +}logstate; + + +#endif \ No newline at end of file