29#define ANGLE_SCALE 1e-7f
30#define MPS_TO_NMPH 1.944f
31#define RAD_TO_DEGREE_10 572.958f
32#define RAD_TO_DEGREE 57.2958f
33#define METER_TO_FEET 3.2808f
34#define MPS_TO_KMPH 3.6f
49 for( p=p+1; *p && *p !=
'*'; ++p)
126 *p++ = (
char)(min / 10 +
'0');
127 *p++ = (
char)(min % 10 +
'0');
135 p[4] = (
char)(min % 10 +
'0');
137 p[3] = (
char)(min % 10 +
'0');
139 p[2] = (
char)(min % 10 +
'0');
141 p[1] = (
char)(min % 10 +
'0');
143 p[0] = (
char)(min % 10 +
'0');
154 if( coordinates.nano < 0)
159 *p++ = (coordinates.
hour) / 10 +
'0';
160 *p++ = (coordinates.
hour) % 10 +
'0';
161 *p++ = (coordinates.
minute) / 10 +
'0';
162 *p++ = (coordinates.
minute) % 10 +
'0';
163 *p++ = (coordinates.
second) / 10 +
'0';
164 *p++ = (coordinates.
second) % 10 +
'0';
219 *p++ = (coordinates.
day) / 10 +
'0';
220 *p++ = (coordinates.
day) % 10 +
'0';
221 *p++ = (coordinates.
month) / 10 +
'0';
222 *p++ = (coordinates.
month) % 10 +
'0';
223 *p++ = ((coordinates.
year)%100) / 10 +
'0';
224 *p++ = ((coordinates.
year)%100) % 10 +
'0';
430 for( p=
line+1; *p && *p !=
'*'; ++p)
char * format_integer(char *s, int32_t value)
signed integer to ASCII returning the string end
Simple and fast ASCII converters.
char * append_string(char *target, const char *source)
basically: kind of strcat returning the pointer to the string-end
contains a string including it's length
mathematical vector of arbitrary type and size
defines platform-dependent algorithms and constants
Contains all important data from the GNSS.
float heading_motion
ground track in degrees
float speed_motion
ground speed m/s
float3vector position
NED / meters.
uint8_t SATS_number
number of tracked satellites
double latitude
latitude / degrees
int16_t geo_sep_dm
(WGS ellipsoid height - elevation MSL) in 0.1m units
double longitude
longitude / degrees
uint8_t sat_fix_type
bit 0: SAT FIX, bit 1: SAT HEADING availale
combination of all input and output data in one structure