DUNE: Uniform Navigational Environment
2.6.0-rc1
|
Ranging is responsible to contain functions necessary to process ranging data (assuming a transceiver plus one (at least) transponder setup.
Public Member Functions | |
Ranging (void) | |
~Ranging (void) | |
void | updateOrigin (const IMC::GpsFix *msg) |
void | setup (const IMC::LblConfig *msg) |
unsigned | getSize (void) |
bool | exists (unsigned id) |
void | getLocation (unsigned id, double *i, double *j, double *k) |
double | getLat (unsigned id) |
double | getLon (unsigned id) |
double | getDepth (unsigned id) |
|
inline |
Constructor.
|
inline |
Destructor.
References DUNE::Memory::clear().
|
inline |
See if specific transponder exists.
[in] | id | transponder id. |
Referenced by DUNE::Navigation::BasicNavigation::consume(), and Navigation::General::LBL::Task::consume().
|
inline |
Get depth of transponder.
[in] | id | transponder id. |
References DUNE::Navigation::BasicTransponder::depth.
Referenced by Navigation::General::LBL::Task::consume().
|
inline |
Get latitude of transponder.
[in] | id | transponder id. |
References DUNE::Navigation::BasicTransponder::lat.
|
inline |
Get 3D location of transponder.
[in] | id | transponder id. |
[out] | i | North displacement. |
[out] | j | East displacement. |
[out] | k | transponder depth. |
References DUNE::Navigation::BasicTransponder::depth, DUNE::Navigation::BasicTransponder::x, and DUNE::Navigation::BasicTransponder::y.
Referenced by DUNE::Navigation::BasicNavigation::consume(), and Navigation::General::LBL::Task::setup().
|
inline |
Get longitude of transponder.
[in] | id | transponder id. |
References DUNE::Navigation::BasicTransponder::lon.
|
inline |
Get size of acoustic setup.
Referenced by DUNE::Navigation::BasicNavigation::consume(), Navigation::General::LBL::Task::consume(), Navigation::AUV::SGNavigation::Task::consume(), Navigation::General::ROV::Task::onConsumeLblConfig(), Navigation::AUV::SGNavigation::Task::onConsumeLblConfig(), Navigation::General::ROV::Task::onUpdateParameters(), Navigation::AUV::SGNavigation::Task::onUpdateParameters(), and Navigation::General::LBL::Task::setup().
|
inline |
Set new LBL configuration.
[in] | msg | new LBL configuration. |
References DUNE::IMC::LblConfig::beacons.
Referenced by DUNE::Navigation::BasicNavigation::consume(), and Navigation::General::LBL::Task::consume().
|
inline |
Update setup navigation reference.
[in] | msg | new navigation reference. |
References DUNE::Memory::replace(), and DUNE::Navigation::BasicTransponder::update().
Referenced by DUNE::Navigation::BasicNavigation::consume(), DUNE::Navigation::BasicNavigation::setup(), and Navigation::General::LBL::Task::startFilter().