Namespaces | Defines | Functions | Variables
navsat_conversions.h File Reference

Universal Transverse Mercator transforms. Functions to convert (spherical) latitude and longitude to and from (Euclidean) UTM coordinates. More...

#include <cmath>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for navsat_conversions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  RobotLocalization
namespace  RobotLocalization::NavsatConversions

Defines

#define UTM_E2   (WGS84_E*WGS84_E)
#define UTM_E4   (UTM_E2*UTM_E2)
#define UTM_E6   (UTM_E4*UTM_E2)
#define UTM_EP2   (UTM_E2/(1-UTM_E2))
#define UTM_FE   500000.0
#define UTM_FN_N   0.0
#define UTM_FN_S   10000000.0
#define UTM_K0   0.9996
#define WGS84_A   6378137.0
#define WGS84_B   6356752.31424518
#define WGS84_E   0.0818191908
#define WGS84_EP   0.0820944379
#define WGS84_F   0.0033528107

Functions

static void RobotLocalization::NavsatConversions::LLtoUTM (const double Lat, const double Long, double &UTMNorthing, double &UTMEasting, std::string &UTMZone)
static void RobotLocalization::NavsatConversions::UTM (double lat, double lon, double *x, double *y)
static char RobotLocalization::NavsatConversions::UTMLetterDesignator (double Lat)
static void RobotLocalization::NavsatConversions::UTMtoLL (const double UTMNorthing, const double UTMEasting, const std::string &UTMZone, double &Lat, double &Long)

Variables

const double RobotLocalization::NavsatConversions::DEGREES_PER_RADIAN = 180.0/M_PI
const double RobotLocalization::NavsatConversions::grid_size = 100000.0
const double RobotLocalization::NavsatConversions::RADIANS_PER_DEGREE = M_PI/180.0

Detailed Description

Universal Transverse Mercator transforms. Functions to convert (spherical) latitude and longitude to and from (Euclidean) UTM coordinates.

Author:
Chuck Gantz- chuck.gantz@globalstar.com

Definition in file navsat_conversions.h.


Define Documentation

#define UTM_E2   (WGS84_E*WGS84_E)

Definition at line 77 of file navsat_conversions.h.

#define UTM_E4   (UTM_E2*UTM_E2)

Definition at line 78 of file navsat_conversions.h.

#define UTM_E6   (UTM_E4*UTM_E2)

Definition at line 79 of file navsat_conversions.h.

#define UTM_EP2   (UTM_E2/(1-UTM_E2))

Definition at line 80 of file navsat_conversions.h.

#define UTM_FE   500000.0

Definition at line 74 of file navsat_conversions.h.

#define UTM_FN_N   0.0

Definition at line 75 of file navsat_conversions.h.

#define UTM_FN_S   10000000.0

Definition at line 76 of file navsat_conversions.h.

#define UTM_K0   0.9996

Definition at line 73 of file navsat_conversions.h.

#define WGS84_A   6378137.0

Definition at line 66 of file navsat_conversions.h.

#define WGS84_B   6356752.31424518

Definition at line 67 of file navsat_conversions.h.

#define WGS84_E   0.0818191908

Definition at line 69 of file navsat_conversions.h.

#define WGS84_EP   0.0820944379

Definition at line 70 of file navsat_conversions.h.

#define WGS84_F   0.0033528107

Definition at line 68 of file navsat_conversions.h.



robot_localization
Author(s): Tom Moore
autogenerated on Fri Aug 28 2015 12:26:20