Resurgence (PY2022)
Codebase for the Husky Robotics 2021-2022 rover Resurgence
|
A GPS datum that specifies the reference ellipsoid for use in GPS calculations. More...
#include <gps_util.h>
Public Member Functions | |
GPSDatum (double a, double b) | |
Construct a new GPSDatum object, with the specified parameters for the ellipsoid. | |
double | getA () const |
Get the semi-major axis of the reference ellipsoid. | |
double | getB () const |
Get the semi-minor axis of the reference ellipsoid. | |
double | getFlattening () const |
Get the flattening parameter of the reference ellipsoid. | |
double | getSquareEccentricity () const |
Get the square of the (first) eccentricity of the ellipsoid. | |
A GPS datum that specifies the reference ellipsoid for use in GPS calculations.
This is important to resolve what exact location a gps coordinate specifies.
GPSDatum::GPSDatum | ( | double | a, |
double | b ) |
Construct a new GPSDatum object, with the specified parameters for the ellipsoid.
a | The semi-major axis of the ellipsoid. |
b | The semi-minor axis of the ellipsoid. |