gps_base
Public Member Functions | List of all members
gps_base::UTMConverter Class Reference

#include <UTMConverter.hpp>

Public Member Functions

 UTMConverter ()
 
void setUTMZone (int zone)
 
void setUTMNorth (bool north)
 
int getUTMZone () const
 
bool getUTMNorth () const
 
void setNWUOrigin (base::Position origin)
 
base::Position getNWUOrigin () const
 
base::samples::RigidBodyState convertToUTM (const gps_base::Solution &solution) const
 
base::samples::RigidBodyState convertToNWU (const gps_base::Solution &solution) const
 
base::samples::RigidBodyState convertToNWU (const base::samples::RigidBodyState &solution) const
 

Constructor & Destructor Documentation

◆ UTMConverter()

UTMConverter::UTMConverter ( )

Member Function Documentation

◆ convertToNWU() [1/2]

base::samples::RigidBodyState UTMConverter::convertToNWU ( const gps_base::Solution solution) const

Convert a GPS solution into NWU coordinates (Rock's convention)

The returned RBS will has all its fields invalidated (only the timestamp updated) if there is no solution

◆ convertToNWU() [2/2]

base::samples::RigidBodyState UTMConverter::convertToNWU ( const base::samples::RigidBodyState &  solution) const

Convert a UTM-converted GPS solution into NWU coordinates (Rock's convention)

◆ convertToUTM()

base::samples::RigidBodyState UTMConverter::convertToUTM ( const gps_base::Solution solution) const

Convert a GPS solution into UTM coordinates

The returned RBS will has all its fields invalidated (only the timestamp updated) if there is no solution

◆ getNWUOrigin()

base::Position UTMConverter::getNWUOrigin ( ) const

Returns the current origin position in UTM coordinates

◆ getUTMNorth()

bool UTMConverter::getUTMNorth ( ) const

Get whether we're north or south of the equator

◆ getUTMZone()

int UTMConverter::getUTMZone ( ) const

Get the UTM zone

◆ setNWUOrigin()

void UTMConverter::setNWUOrigin ( base::Position  origin)

Set a position that will be removed from the computed UTM solution

◆ setUTMNorth()

void UTMConverter::setUTMNorth ( bool  north)

Sets the UTM zone

◆ setUTMZone()

void UTMConverter::setUTMZone ( int  zone)

Sets the UTM zone


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