DUNE: Uniform Navigational Environment  2.3.0
DUNE::Navigation::BasicTransponder Struct Reference

Detailed Description

Basic transponder information.

Public Member Functions

 BasicTransponder ()
 
void initialize (const IMC::GpsFix *origin, double latitude, double longitude, double z)
 
void update (const IMC::GpsFix *origin)
 

Public Attributes

double lat
 
double lon
 
double x
 
double y
 
double depth
 

Constructor & Destructor Documentation

DUNE::Navigation::BasicTransponder::BasicTransponder ( )
inline

Constructor.

Member Function Documentation

void DUNE::Navigation::BasicTransponder::initialize ( const IMC::GpsFix origin,
double  latitude,
double  longitude,
double  z 
)
inline

Initialize transponder position.

Parameters
[in]originnavigation reference.
[in]latitudeWGS-84 latitude.
[in]longitudeWGS-84 longitude.
[in]ztransponder depth.

References depth, lat, lon, and update().

void DUNE::Navigation::BasicTransponder::update ( const IMC::GpsFix origin)
inline

Update transponder navigation reference.

Parameters
[in]originnew navigation reference.

References depth, DUNE::Coordinates::WGS84::displacement(), lat, DUNE::IMC::GpsFix::lat, lon, DUNE::IMC::GpsFix::lon, x, and y.

Referenced by initialize(), and DUNE::Navigation::Ranging::updateOrigin().

Member Data Documentation

double DUNE::Navigation::BasicTransponder::depth
double DUNE::Navigation::BasicTransponder::lat

WGS-84 latitude coordinate.

Referenced by initialize(), and update().

double DUNE::Navigation::BasicTransponder::lon

WGS-84 longitude coordinate.

Referenced by initialize(), and update().

double DUNE::Navigation::BasicTransponder::x

Transponder North displacement relative to given reference (m).

Referenced by DUNE::Navigation::Ranging::getLocation(), and update().

double DUNE::Navigation::BasicTransponder::y

Transponder East displacement relative to given reference (m).

Referenced by DUNE::Navigation::Ranging::getLocation(), and update().

Collaboration diagram for DUNE::Navigation::BasicTransponder:
Collaboration graph