DUNE: Uniform Navigational Environment
2.5.0-rc1
|
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::Generator * | m_prng |
Arguments | m_args |
|
inline |
|
inline |
References m_sstate.
|
inline |
Acquire resources.
References m_args, m_prng, Simulators::DVL::Arguments::prng_seed, and Simulators::DVL::Arguments::prng_type.
|
inline |
Release resources.
References m_prng.
|
inline |
Update internal parameters.
References Simulators::DVL::Arguments::ir_prob, and m_args.
|
inline |
Arguments Simulators::DVL::Task::m_args |
Task arguments.
Referenced by onResourceAcquisition(), onUpdateParameters(), Task(), and task().
IMC::GroundVelocity Simulators::DVL::Task::m_gvel |
Ground velocity.
Referenced by task().
Random::Generator* Simulators::DVL::Task::m_prng |
Pseudo-random generator.
Referenced by onResourceAcquisition(), onResourceRelease(), and task().
IMC::SimulatedState Simulators::DVL::Task::m_sstate |
IMC::WaterVelocity Simulators::DVL::Task::m_wvel |
Water velocity.
Referenced by task().