Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2136 - 1
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
 
4
//############################################################################
5
//# HISTORY  gps.h
6
//#
7
//# 20.06.2014 OG - NEU
8
//############################################################################
9
 
10
 
11
#ifndef GPS_H_
12
#define GPS_H_
13
 
14
 
15
 
16
GPS_PosDev_t gps_Deviation( GPS_Pos_t pos1, GPS_Pos_t pos2 );
17
 
18
/**
19
 * Position data in fractional degrees or radians
20
 */
21
typedef struct _nmeaPOS
22
{
23
    int32_t lat;         /**< Latitude */
24
    int32_t lon;         /**< Longitude */
25
 
26
} nmeaPOS;
27
 
28
extern nmeaPOS NMEApos;
29
extern nmeaPOS NMEATarget;
30
 
31
 
32
 
33
int nmea_move_horz(
34
    const nmeaPOS *start_pos,   /**< Start position in radians */
35
    nmeaPOS *end_pos,           /**< Result position in radians */
36
    double azimuth,             /**< Azimuth (degree) [0, 359] */
37
    double distance             /**< Distance (km) */
38
    );
39
 
40
 
41
int nmea_move_horz1(
42
    const nmeaPOS *start_pos,   /**< Start position in radians */
43
    nmeaPOS *end_pos,           /**< Result position in radians */
44
    double azimuth,             /**< Azimuth (degree) [0, 359] */
45
    double distance             /**< Distance (km) */
46
    );
47
 
48
#endif // #define GPS_H_