DUNE: Uniform Navigational Environment
2020.01.0
|
Gaussian simulator task.
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onUpdateParameters (void) |
void | onResourceAcquisition (void) |
void | onResourceRelease (void) |
void | consume (const IMC::SimulatedState *msg) |
void | task (void) |
Public Attributes | |
IMC::Message * | m_msg |
IMC::SimulatedState | m_last_state |
Random::Generator * | m_prng |
Arguments | m_args |
|
inline |
References Simulators::Gaussian::Arguments::away_val, Simulators::Gaussian::Arguments::depth_threshold, Simulators::Gaussian::Arguments::invalid, Simulators::Gaussian::Arguments::message_name, Simulators::Gaussian::Arguments::peak_lat, Simulators::Gaussian::Arguments::peak_lon, Simulators::Gaussian::Arguments::peak_val, Simulators::Gaussian::Arguments::peak_width, Simulators::Gaussian::Arguments::prng_seed, Simulators::Gaussian::Arguments::prng_type, and Simulators::Gaussian::Arguments::std_dev.
|
inline |
|
inline |
Acquire resources.
References Simulators::Gaussian::Arguments::message_name, Simulators::Gaussian::Arguments::prng_seed, and Simulators::Gaussian::Arguments::prng_type.
|
inline |
Release resources.
|
inline |
Parse arguments.
References Simulators::Gaussian::Arguments::message_name, Simulators::Gaussian::Arguments::peak_lat, and Simulators::Gaussian::Arguments::peak_lon.
|
inline |
References Simulators::Gaussian::Arguments::away_val, Simulators::Gaussian::Arguments::depth_threshold, DUNE::Math::Random::Generator::gaussian(), Simulators::Gaussian::Arguments::invalid, Simulators::Gaussian::Arguments::peak_lat, Simulators::Gaussian::Arguments::peak_lon, Simulators::Gaussian::Arguments::peak_val, Simulators::Gaussian::Arguments::peak_width, and Simulators::Gaussian::Arguments::std_dev.
IMC::SimulatedState Simulators::Gaussian::Task::m_last_state |
Last simulated state.
IMC::Message* Simulators::Gaussian::Task::m_msg |
IMC message to be produced.
Random::Generator* Simulators::Gaussian::Task::m_prng |
Pseudo-random number generator.