Zephyr Scientific Library (zscilib)
|
API header file for compass calculations in zscilib. More...
Go to the source code of this file.
Functions | |
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. More... | |
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. More... | |
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, and the magentic declination. More... | |
API header file for compass calculations in zscilib.
This file contains the zscilib compass APIs
Definition in file compass.h.