DUNE: Uniform Navigational Environment  2019.02.0
Simulators::Docking::Task Struct Reference

Classes

struct  DockState
 

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
void onUpdateParameters (void)
 
void onResourceAcquisition (void)
 
void onResourceRelease (void)
 
void consume (const IMC::GpsFix *msg)
 
void consume (const IMC::SimulatedState *msg)
 
void onMain (void)
 

Public Attributes

DockState m_origin
 
DockState m_pos
 
Random::Generatorm_prng
 
double m_timeref
 
Arguments m_args
 

Constructor & Destructor Documentation

Member Function Documentation

void Simulators::Docking::Task::onMain ( void  )
inline
void Simulators::Docking::Task::onResourceAcquisition ( void  )
inline
void Simulators::Docking::Task::onResourceRelease ( void  )
inline

References m_prng.

Member Data Documentation

Arguments Simulators::Docking::Task::m_args
DockState Simulators::Docking::Task::m_origin

Original dock position.

Referenced by consume(), and onUpdateParameters().

DockState Simulators::Docking::Task::m_pos

Current dock position.

Referenced by consume(), and onUpdateParameters().

Random::Generator* Simulators::Docking::Task::m_prng

PRNG handle.

Referenced by consume(), onResourceAcquisition(), and onResourceRelease().

double Simulators::Docking::Task::m_timeref

Time reference.

Referenced by consume().

Collaboration diagram for Simulators::Docking::Task:
Collaboration graph