BOLT Dash (C++)
Loading...
Searching...
No Matches
nmea_decoder.h
1
#include <cmath>
2
#include <iostream>
3
#include <sstream>
4
#include <string>
5
#include <vector>
6
7
struct
GPSData
{
8
double
latitude = 0.0;
9
double
longitude = 0.0;
10
std::string time =
""
;
11
std::string date =
""
;
12
double
altitude = 0.0;
13
int
satellites = 0;
14
std::string fix =
"Invalid"
;
15
};
16
17
std::vector<std::string> split(
const
std::string &s,
char
delimiter);
18
19
double
convertToDecimalDegrees(
const
std::string &value,
const
std::string &direction);
20
21
GPSData
decodeNMEA(
const
std::string &nmea);
22
23
void
printGPSData(
const
GPSData
&data);
24
25
int
nmmeaMain();
GPSData
Definition
nmea_decoder.h:7
Bolt_Dash
nmea_decoder.h
Generated by
1.12.0