#include <math.h>
#include <check.h>
#include "check_utils.h"
#include <coord_system.h>
#include <pvt.h>
Go to the source code of this file.
Defines | |
#define | EARTH_A 6378137.0 |
#define | EARTH_B 6356752.31424517929553985595703125 |
#define | MAX_ANGLE_ERROR_RAD (MAX_ANGLE_ERROR_SEC*(D2R/3600.0)) |
#define | MAX_ANGLE_ERROR_SEC 1e-7 |
#define | MAX_DIST_ERROR_M 1e-6 |
#define | NUM_COORDS 10 |
Functions | |
END_TEST Suite * | coord_system_suite (void) |
START_TEST (test_wgsllh2ecef) | |
END_TEST | START_TEST (test_wgsecef2llh) |
END_TEST | START_TEST (test_wgsllh2ecef2llh) |
END_TEST | START_TEST (test_wgsecef2llh2ecef) |
END_TEST | START_TEST (test_random_wgsllh2ecef2llh) |
END_TEST | START_TEST (test_random_wgsecef2llh2ecef) |
END_TEST | START_TEST (test_random_wgsecef2ned_d_0) |
Variables | |
const double const | ecefs [NUM_COORDS][3] |
const double const | llhs [NUM_COORDS][3] |
#define EARTH_A 6378137.0 |
Definition at line 17 of file check_coord_system.c.
#define EARTH_B 6356752.31424517929553985595703125 |
Definition at line 19 of file check_coord_system.c.
#define MAX_ANGLE_ERROR_RAD (MAX_ANGLE_ERROR_SEC*(D2R/3600.0)) |
Definition at line 14 of file check_coord_system.c.
#define MAX_ANGLE_ERROR_SEC 1e-7 |
Definition at line 13 of file check_coord_system.c.
#define MAX_DIST_ERROR_M 1e-6 |
Definition at line 10 of file check_coord_system.c.
#define NUM_COORDS 10 |
Definition at line 21 of file check_coord_system.c.
END_TEST Suite* coord_system_suite | ( | void | ) |
Definition at line 316 of file check_coord_system.c.
START_TEST | ( | test_wgsllh2ecef | ) |
Definition at line 47 of file check_coord_system.c.
END_TEST START_TEST | ( | test_wgsecef2llh | ) |
Definition at line 69 of file check_coord_system.c.
END_TEST START_TEST | ( | test_wgsllh2ecef2llh | ) |
Definition at line 96 of file check_coord_system.c.
END_TEST START_TEST | ( | test_wgsecef2llh2ecef | ) |
Definition at line 131 of file check_coord_system.c.
END_TEST START_TEST | ( | test_random_wgsllh2ecef2llh | ) |
Definition at line 164 of file check_coord_system.c.
END_TEST START_TEST | ( | test_random_wgsecef2llh2ecef | ) |
Definition at line 230 of file check_coord_system.c.
END_TEST START_TEST | ( | test_random_wgsecef2ned_d_0 | ) |
Definition at line 296 of file check_coord_system.c.
const double const ecefs[NUM_COORDS][3] |