10 #include <gtest/gtest.h>    22         c1, geo1, TEllipsoid::Ellipsoid_WGS84());
    26         geo1, c2, TEllipsoid::Ellipsoid_WGS84());
    33 TEST(TopographyConversion, GeodeticToGeocentricToGeodetic)
    49     gps_point.
lon = -4.475828390;
    50     gps_point.
lat = 36.716411055;
    54     gps_ref.
lon = -4.4789588283333330;
    55     gps_ref.
lat = 36.714459075;
    61     TPoint3D P_true(279.679067794, 216.621954, 9.34448);
    70     const double A_height = 15.0;
    71     gps_point2.
height += A_height;
 
A set of geodetic coordinates: latitude, longitude and height, defined over a given geoid (typically...
 
void geodeticToENU_WGS84(const TGeodeticCoords &in_coords, mrpt::math::TPoint3D &out_ENU_point, const TGeodeticCoords &in_coords_origin)
Coordinates transformation from longitude/latitude/height to ENU (East-North-Up) X/Y/Z coordinates Th...
 
void geodeticToGeocentric(const TGeodeticCoords &in_coords, TGeocentricCoords &out_point, const TEllipsoid &ellip)
Coordinates transformation from longitude/latitude/height to geocentric X/Y/Z coordinates (with an sp...
 
A coordinate that is stored as a simple "decimal" angle in degrees, but can be retrieved/set in the f...
 
TEST(TopographyConversion, GeodeticToGeocentricToGeodetic)
 
This base provides a set of functions for maths stuff. 
 
TCoords lon
Longitude (in degrees) 
 
void geocentricToGeodetic(const TGeocentricCoords &in_point, TGeodeticCoords &out_coords, const TEllipsoid &ellip=TEllipsoid::Ellipsoid_WGS84())
Coordinates transformation from geocentric X/Y/Z coordinates to longitude/latitude/height. 
 
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. 
 
double height
Geodetic height (in meters) 
 
EXPECT_NEAR(out.cam_params.rightCameraPose.x, 0.1194, 0.005)
 
This namespace provides topography helper functions, coordinate transformations. 
 
TCoords lat
Latitude (in degrees) 
 
void do_test_geodetic_geocentric(const TGeodeticCoords c1)