int zsl_comp_magn_north(struct zsl_vec *m, zsl_real_t *d)
Calculates the magnetic north of the earth (not the geographical north) based on magnetometer data.
int zsl_comp_geo_north(struct zsl_vec *m, zsl_real_t dec, zsl_real_t *b)
Calculates geographic north (AKA true bearing) based on the supplied magnetometer data,...
int zsl_comp_dms_to_dd(zsl_real_t d, zsl_real_t m, zsl_real_t s, zsl_real_t *dd)
Converts dms (degrees, minutes, seconds) to decimal degrees.