pose_estimation
Public Member Functions | Protected Attributes | List of all members
pose_estimation::GeographicProjection Class Reference

#include <GeographicProjection.hpp>

Inheritance diagram for pose_estimation::GeographicProjection:

Public Member Functions

 GeographicProjection (double latitude, double longitude, double x=0., double y=0.)
 
virtual ~GeographicProjection ()
 
bool worldToNav (double latitude, double longitude, double &x, double &y)
 
bool navToWorld (double x, double y, double &latitude, double &longitude)
 

Protected Attributes

OGRCoordinateTransformation * world2nav
 
OGRCoordinateTransformation * nav2world
 
Eigen::Vector2d offset
 

Detailed Description

Helper class to project from GPS coordinates to a local plane in NWU coordinates and vice versa.

Constructor & Destructor Documentation

◆ GeographicProjection()

GeographicProjection::GeographicProjection ( double  latitude,
double  longitude,
double  x = 0.,
double  y = 0. 
)

◆ ~GeographicProjection()

GeographicProjection::~GeographicProjection ( )
virtual

Member Function Documentation

◆ navToWorld()

bool GeographicProjection::navToWorld ( double  x,
double  y,
double &  latitude,
double &  longitude 
)

◆ worldToNav()

bool GeographicProjection::worldToNav ( double  latitude,
double  longitude,
double &  x,
double &  y 
)

Member Data Documentation

◆ nav2world

OGRCoordinateTransformation* pose_estimation::GeographicProjection::nav2world
protected

◆ offset

Eigen::Vector2d pose_estimation::GeographicProjection::offset
protected

◆ world2nav

OGRCoordinateTransformation* pose_estimation::GeographicProjection::world2nav
protected

The documentation for this class was generated from the following files: