#include <global_reference.h>
Classes | |
struct | Heading |
struct | Position |
struct | Radius |
Public Member Functions | |
void | fromNorthEast (double north, double east, double &x, double &y) |
void | fromWGS84 (double latitude, double longitude, double &x, double &y) |
bool | hasAltitude () const |
bool | hasHeading () const |
bool | hasPosition () const |
const Heading & | heading () const |
ParameterList & | parameters () |
const Position & | position () const |
const Radius & | radius () const |
void | reset () |
GlobalReference & | setAltitude (double altitude, bool quiet=false) |
GlobalReference & | setCurrentAltitude (const State &state, double altitude) |
GlobalReference & | setCurrentHeading (const State &state, double heading) |
GlobalReference & | setCurrentPosition (const State &state, double latitude, double longitude) |
GlobalReference & | setHeading (double heading, bool quiet=false) |
GlobalReference & | setPosition (double latitude, double longitude, bool quiet=false) |
void | toNorthEast (double x, double y, double &north, double &east) |
void | toWGS84 (double x, double y, double &latitude, double &longitude) |
void | updated () |
Static Public Member Functions | |
static const GlobalReferencePtr & | Instance () |
Private Member Functions | |
GlobalReference () | |
Private Attributes | |
bool | has_altitude_ |
bool | has_heading_ |
bool | has_position_ |
Heading | heading_ |
ParameterList | parameters_ |
Position | position_ |
Radius | radius_ |
Definition at line 39 of file global_reference.h.
hector_pose_estimation::GlobalReference::GlobalReference | ( | ) | [private] |
Definition at line 37 of file global_reference.cpp.
void hector_pose_estimation::GlobalReference::fromNorthEast | ( | double | north, |
double | east, | ||
double & | x, | ||
double & | y | ||
) |
Definition at line 111 of file global_reference.cpp.
void hector_pose_estimation::GlobalReference::fromWGS84 | ( | double | latitude, |
double | longitude, | ||
double & | x, | ||
double & | y | ||
) |
Definition at line 92 of file global_reference.cpp.
bool hector_pose_estimation::GlobalReference::hasAltitude | ( | ) | const [inline] |
Definition at line 76 of file global_reference.h.
bool hector_pose_estimation::GlobalReference::hasHeading | ( | ) | const [inline] |
Definition at line 75 of file global_reference.h.
bool hector_pose_estimation::GlobalReference::hasPosition | ( | ) | const [inline] |
Definition at line 74 of file global_reference.h.
const Heading& hector_pose_estimation::GlobalReference::heading | ( | ) | const [inline] |
Definition at line 63 of file global_reference.h.
const GlobalReferencePtr & hector_pose_estimation::GlobalReference::Instance | ( | ) | [static] |
Definition at line 47 of file global_reference.cpp.
Definition at line 66 of file global_reference.cpp.
const Position& hector_pose_estimation::GlobalReference::position | ( | ) | const [inline] |
Definition at line 62 of file global_reference.h.
const Radius& hector_pose_estimation::GlobalReference::radius | ( | ) | const [inline] |
Definition at line 64 of file global_reference.h.
Definition at line 54 of file global_reference.cpp.
GlobalReference & hector_pose_estimation::GlobalReference::setAltitude | ( | double | altitude, |
bool | quiet = false |
||
) |
Definition at line 138 of file global_reference.cpp.
GlobalReference & hector_pose_estimation::GlobalReference::setCurrentAltitude | ( | const State & | state, |
double | altitude | ||
) |
Definition at line 183 of file global_reference.cpp.
GlobalReference & hector_pose_estimation::GlobalReference::setCurrentHeading | ( | const State & | state, |
double | heading | ||
) |
Definition at line 161 of file global_reference.cpp.
GlobalReference & hector_pose_estimation::GlobalReference::setCurrentPosition | ( | const State & | state, |
double | latitude, | ||
double | longitude | ||
) |
Definition at line 146 of file global_reference.cpp.
GlobalReference & hector_pose_estimation::GlobalReference::setHeading | ( | double | heading, |
bool | quiet = false |
||
) |
Definition at line 130 of file global_reference.cpp.
GlobalReference & hector_pose_estimation::GlobalReference::setPosition | ( | double | latitude, |
double | longitude, | ||
bool | quiet = false |
||
) |
Definition at line 121 of file global_reference.cpp.
void hector_pose_estimation::GlobalReference::toNorthEast | ( | double | x, |
double | y, | ||
double & | north, | ||
double & | east | ||
) |
Definition at line 116 of file global_reference.cpp.
void hector_pose_estimation::GlobalReference::toWGS84 | ( | double | x, |
double | y, | ||
double & | latitude, | ||
double & | longitude | ||
) |
Definition at line 98 of file global_reference.cpp.
Definition at line 70 of file global_reference.cpp.
bool hector_pose_estimation::GlobalReference::has_altitude_ [private] |
Definition at line 99 of file global_reference.h.
bool hector_pose_estimation::GlobalReference::has_heading_ [private] |
Definition at line 98 of file global_reference.h.
bool hector_pose_estimation::GlobalReference::has_position_ [private] |
Definition at line 97 of file global_reference.h.
Definition at line 94 of file global_reference.h.
Definition at line 101 of file global_reference.h.
Definition at line 93 of file global_reference.h.
Definition at line 95 of file global_reference.h.