DUNE: Uniform Navigational Environment  2020.01.0
Simulators::DVL::Task Struct Reference

Detailed Description

DVL simulator task.

Public Member Functions

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

Public Attributes

IMC::SimulatedState m_sstate
 
IMC::WaterVelocity m_wvel
 
IMC::GroundVelocity m_gvel
 
Random::Generatorm_prng
 
Arguments m_args
 

Constructor & Destructor Documentation

Member Function Documentation

void Simulators::DVL::Task::consume ( const IMC::SimulatedState *  msg)
inline
void Simulators::DVL::Task::onResourceAcquisition ( void  )
inline
void Simulators::DVL::Task::onResourceRelease ( void  )
inline

Release resources.

void Simulators::DVL::Task::onUpdateParameters ( void  )
inline

Update internal parameters.

References Simulators::DVL::Arguments::ir_prob.

Member Data Documentation

Arguments Simulators::DVL::Task::m_args

Task arguments.

IMC::GroundVelocity Simulators::DVL::Task::m_gvel

Ground velocity.

Random::Generator* Simulators::DVL::Task::m_prng

Pseudo-random generator.

IMC::SimulatedState Simulators::DVL::Task::m_sstate

Simulated state.

IMC::WaterVelocity Simulators::DVL::Task::m_wvel

Water velocity.

Collaboration diagram for Simulators::DVL::Task:
Collaboration graph