$search

gps_common Namespace Reference

Namespaces

namespace  msg

Classes

struct  GPSFix_
struct  GPSStatus_

Typedefs

typedef ::gps_common::GPSFix_
< std::allocator< void > > 
GPSFix
typedef boost::shared_ptr
< ::gps_common::GPSFix const > 
GPSFixConstPtr
typedef boost::shared_ptr
< ::gps_common::GPSFix
GPSFixPtr
typedef
::gps_common::GPSStatus_
< std::allocator< void > > 
GPSStatus
typedef boost::shared_ptr
< ::gps_common::GPSStatus
const > 
GPSStatusConstPtr
typedef boost::shared_ptr
< ::gps_common::GPSStatus
GPSStatusPtr

Functions

static void LLtoUTM (const double Lat, const double Long, double &UTMNorthing, double &UTMEasting, std::string &UTMZone)
static void LLtoUTM (const double Lat, const double Long, double &UTMNorthing, double &UTMEasting, char *UTMZone)
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::gps_common::GPSStatus_< ContainerAllocator > &v)
template<typename ContainerAllocator >
std::ostream & operator<< (std::ostream &s, const ::gps_common::GPSFix_< ContainerAllocator > &v)
static void UTM (double lat, double lon, double *x, double *y)
static char UTMLetterDesignator (double Lat)
static void UTMtoLL (const double UTMNorthing, const double UTMEasting, std::string UTMZone, double &Lat, double &Long)
static void UTMtoLL (const double UTMNorthing, const double UTMEasting, const char *UTMZone, double &Lat, double &Long)

Variables

const double DEGREES_PER_RADIAN = 180.0/M_PI
const double RADIANS_PER_DEGREE = M_PI/180.0
const double UTM_E2 = (WGS84_E*WGS84_E)
const double UTM_E4 = (UTM_E2*UTM_E2)
const double UTM_E6 = (UTM_E4*UTM_E2)
const double UTM_EP2 = (UTM_E2/(1-UTM_E2))
const double UTM_FE = 500000.0
const double UTM_FN_N = 0.0
const double UTM_FN_S = 10000000.0
const double UTM_K0 = 0.9996
const double WGS84_A = 6378137.0
const double WGS84_B = 6356752.31424518
const double WGS84_E = 0.0818191908
const double WGS84_EP = 0.0820944379
const double WGS84_F = 0.0033528107

Typedef Documentation

typedef ::gps_common::GPSFix_<std::allocator<void> > gps_common::GPSFix

Definition at line 463 of file GPSFix.h.

typedef boost::shared_ptr< ::gps_common::GPSFix const> gps_common::GPSFixConstPtr

Definition at line 466 of file GPSFix.h.

typedef boost::shared_ptr< ::gps_common::GPSFix> gps_common::GPSFixPtr

Definition at line 465 of file GPSFix.h.

typedef ::gps_common::GPSStatus_<std::allocator<void> > gps_common::GPSStatus

Definition at line 261 of file GPSStatus.h.

typedef boost::shared_ptr< ::gps_common::GPSStatus const> gps_common::GPSStatusConstPtr

Definition at line 264 of file GPSStatus.h.

typedef boost::shared_ptr< ::gps_common::GPSStatus> gps_common::GPSStatusPtr

Definition at line 263 of file GPSStatus.h.


Function Documentation

static void gps_common::LLtoUTM ( const double  Lat,
const double  Long,
double &  UTMNorthing,
double &  UTMEasting,
std::string &  UTMZone 
) [inline, static]

Definition at line 210 of file conversions.h.

static void gps_common::LLtoUTM ( const double  Lat,
const double  Long,
double &  UTMNorthing,
double &  UTMEasting,
char *  UTMZone 
) [inline, static]

Convert lat/long to UTM coords. Equations from USGS Bulletin 1532

East Longitudes are positive, West longitudes are negative. North latitudes are positive, South latitudes are negative Lat and Long are in fractional degrees

Written by Chuck Gantz- chuck.gantz@globalstar.com

Definition at line 148 of file conversions.h.

template<typename ContainerAllocator >
std::ostream& gps_common::operator<< ( std::ostream &  s,
const ::gps_common::GPSStatus_< ContainerAllocator > &  v 
) [inline]

Definition at line 268 of file GPSStatus.h.

template<typename ContainerAllocator >
std::ostream& gps_common::operator<< ( std::ostream &  s,
const ::gps_common::GPSFix_< ContainerAllocator > &  v 
) [inline]

Definition at line 470 of file GPSFix.h.

static void gps_common::UTM ( double  lat,
double  lon,
double *  x,
double *  y 
) [inline, static]

Utility function to convert geodetic to UTM position

Units in are floating point degrees (sign for east/west)

Units out are meters

Definition at line 57 of file conversions.h.

static char gps_common::UTMLetterDesignator ( double  Lat  )  [inline, static]

Determine the correct UTM letter designator for the given latitude

Returns:
'Z' if latitude is outside the UTM limits of 84N to 80S

Written by Chuck Gantz- chuck.gantz@globalstar.com

Definition at line 110 of file conversions.h.

static void gps_common::UTMtoLL ( const double  UTMNorthing,
const double  UTMEasting,
std::string  UTMZone,
double &  Lat,
double &  Long 
) [inline, static]

Definition at line 286 of file conversions.h.

static void gps_common::UTMtoLL ( const double  UTMNorthing,
const double  UTMEasting,
const char *  UTMZone,
double &  Lat,
double &  Long 
) [inline, static]

Converts UTM coords to lat/long. Equations from USGS Bulletin 1532

East Longitudes are positive, West longitudes are negative. North latitudes are positive, South latitudes are negative Lat and Long are in fractional degrees.

Written by Chuck Gantz- chuck.gantz@globalstar.com

Definition at line 230 of file conversions.h.


Variable Documentation

const double gps_common::DEGREES_PER_RADIAN = 180.0/M_PI

Definition at line 31 of file conversions.h.

const double gps_common::RADIANS_PER_DEGREE = M_PI/180.0

Definition at line 30 of file conversions.h.

Definition at line 45 of file conversions.h.

const double gps_common::UTM_E4 = (UTM_E2*UTM_E2)

Definition at line 46 of file conversions.h.

const double gps_common::UTM_E6 = (UTM_E4*UTM_E2)

Definition at line 47 of file conversions.h.

const double gps_common::UTM_EP2 = (UTM_E2/(1-UTM_E2))

Definition at line 48 of file conversions.h.

const double gps_common::UTM_FE = 500000.0

Definition at line 42 of file conversions.h.

const double gps_common::UTM_FN_N = 0.0

Definition at line 43 of file conversions.h.

const double gps_common::UTM_FN_S = 10000000.0

Definition at line 44 of file conversions.h.

const double gps_common::UTM_K0 = 0.9996

Definition at line 41 of file conversions.h.

const double gps_common::WGS84_A = 6378137.0

Definition at line 34 of file conversions.h.

const double gps_common::WGS84_B = 6356752.31424518

Definition at line 35 of file conversions.h.

const double gps_common::WGS84_E = 0.0818191908

Definition at line 37 of file conversions.h.

const double gps_common::WGS84_EP = 0.0820944379

Definition at line 38 of file conversions.h.

const double gps_common::WGS84_F = 0.0033528107

Definition at line 36 of file conversions.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


gps_common
Author(s): Maintained by Ken Tossell
autogenerated on Fri Mar 1 15:38:31 2013