Home
last modified time | relevance | path

Searched refs:lat (Results 1 – 3 of 3) sorted by relevance

/zscilib-3.4.0/src/orientation/
Dgravity.c12 int zsl_grav_lat_alt(zsl_real_t lat, zsl_real_t alt, zsl_real_t *g) in zsl_grav_lat_alt() argument
14 if (alt < 0.0 || lat > 90.0 || lat < -90.0) { in zsl_grav_lat_alt()
21 *g = 9.780318 * (1.0 + 0.0053024 * ZSL_SIN(lat * d_to_r) * in zsl_grav_lat_alt()
22 ZSL_SIN(lat * d_to_r) - 0.0000058 * ZSL_SIN(2.0 * lat * d_to_r) * in zsl_grav_lat_alt()
23 ZSL_SIN(2.0 * lat * d_to_r)) - 0.000003085 * alt; in zsl_grav_lat_alt()
Dshell.c42 zsl_real_t lat = 0.0; in zsl_orient_shell_cmd_lat2g() local
66 lat = strtof(argv[1], NULL); in zsl_orient_shell_cmd_lat2g()
67 if (lat <= 0.0) { in zsl_orient_shell_cmd_lat2g()
77 rc = zsl_grav_lat_alt(lat, alt, &g); in zsl_orient_shell_cmd_lat2g()
/zscilib-3.4.0/include/zsl/orientation/
Dgravity.h48 int zsl_grav_lat_alt(zsl_real_t lat, zsl_real_t alt, zsl_real_t *g);