DUNE: Uniform Navigational Environment  2020.01.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::consume ( const IMC::GpsFix *  msg)
inline
void Simulators::Docking::Task::onMain ( void  )
inline
void Simulators::Docking::Task::onResourceAcquisition ( void  )
inline
void Simulators::Docking::Task::onResourceRelease ( void  )
inline

Member Data Documentation

Arguments Simulators::Docking::Task::m_args

Task arguments.

DockState Simulators::Docking::Task::m_origin

Original dock position.

DockState Simulators::Docking::Task::m_pos

Current dock position.

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

PRNG handle.

double Simulators::Docking::Task::m_timeref

Time reference.

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