目的地へたどり着くアルゴリズム

Dependencies:   MPU9250_SPI TA7291P mbed

Committer:
tomoya123
Date:
Fri Mar 17 08:33:50 2017 +0000
Revision:
0:5fef60d1a47e
???????????????

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tomoya123 0:5fef60d1a47e 1 #ifndef MBED_HEPTAGPS_H
tomoya123 0:5fef60d1a47e 2 #define MBED_HEPTAGPS_H
tomoya123 0:5fef60d1a47e 3 #include "mbed.h"
tomoya123 0:5fef60d1a47e 4
tomoya123 0:5fef60d1a47e 5 //GPS Sensor GT723F
tomoya123 0:5fef60d1a47e 6
tomoya123 0:5fef60d1a47e 7 class HeptaGPS{
tomoya123 0:5fef60d1a47e 8 public:
tomoya123 0:5fef60d1a47e 9 Serial gps;
tomoya123 0:5fef60d1a47e 10 HeptaGPS(
tomoya123 0:5fef60d1a47e 11 PinName tx,
tomoya123 0:5fef60d1a47e 12 PinName rx
tomoya123 0:5fef60d1a47e 13 );
tomoya123 0:5fef60d1a47e 14 void flushSerialBuffer(void);
tomoya123 0:5fef60d1a47e 15 void sensing(float* lat, float* log );
tomoya123 0:5fef60d1a47e 16 void sensing_u16(char* lad,char* log, int *dsize);
tomoya123 0:5fef60d1a47e 17 private:
tomoya123 0:5fef60d1a47e 18 int i,rlock,stn;
tomoya123 0:5fef60d1a47e 19 char gps_data[7][1000];
tomoya123 0:5fef60d1a47e 20 char ns,ew,statas;
tomoya123 0:5fef60d1a47e 21 float time,hokui,tokei,vel;
tomoya123 0:5fef60d1a47e 22 float g_hokui,g_tokei;
tomoya123 0:5fef60d1a47e 23 float d_hokui,m_hokui,d_tokei,m_tokei;
tomoya123 0:5fef60d1a47e 24 int h_time,m_time,s_time;
tomoya123 0:5fef60d1a47e 25 //FILE *fp;
tomoya123 0:5fef60d1a47e 26 };
tomoya123 0:5fef60d1a47e 27 #endif