yy1717
2021-02-07 cea2a94fc97e79897cdfd217be8250c075974a1a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// Created by YY on 2019/12/23.
//
 
#ifndef RTKDRIVERTEST_RTK_H
#define RTKDRIVERTEST_RTK_H
 
typedef struct {
    uint16_t gps_status;
    int YY;
    int MM;
    int DD;
    int hh;
    int mm;
    int ss;
    int mss;
    int satNum;
 
    double latitude;
    double longitude;
    double altitude;
    double speed;
    double trackTure;
}gpsStatus_t;
 
typedef struct {
    int YY;
    int MM;
    int DD;
    int hh;
    int mm;
    int ss;
    int dss;
    int qf;
    double heading;
    double pitch;
    double roll;
    double x;
    double y;
}rtk_info;
 
void RtkCommModeSel(int mode);
void ConfigRTKModule(bool ayDevice);
void ConfigRTKModuleLater(void);
void FactorySettings(void);
void RebootModule(void);
void SetAYFactoryParam(int freq);
void GetGpsStatus(gpsStatus_t &data);
void SetPjkPara(int centLon);
 
#endif //RTKDRIVERTEST_RTK_H