|
gps_base
|
#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 |
| UTMConverter::UTMConverter | ( | ) |
| 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
| base::samples::RigidBodyState UTMConverter::convertToNWU | ( | const base::samples::RigidBodyState & | solution | ) | const |
Convert a UTM-converted GPS solution into NWU coordinates (Rock's convention)
| 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
| base::Position UTMConverter::getNWUOrigin | ( | ) | const |
Returns the current origin position in UTM coordinates
| bool UTMConverter::getUTMNorth | ( | ) | const |
Get whether we're north or south of the equator
| int UTMConverter::getUTMZone | ( | ) | const |
Get the UTM zone
| void UTMConverter::setNWUOrigin | ( | base::Position | origin | ) |
Set a position that will be removed from the computed UTM solution
| void UTMConverter::setUTMNorth | ( | bool | north | ) |
Sets the UTM zone
| void UTMConverter::setUTMZone | ( | int | zone | ) |
Sets the UTM zone
1.8.6