DUNE: Uniform Navigational Environment
2019.02.1
|
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 | task (void) |
void | getSensorData (USBLMessage *msg) const |
void | getRealBearingAndRange (double *bearing, double *range) const |
Public Attributes | |
IMC::EntityState | m_ent |
IMC::SimulatedState | m_sstate |
IMC::DevDataBinary | m_dev |
Random::Generator * | m_prng |
double | m_usbl_off_n |
double | m_usbl_off_e |
Arguments | m_args |
|
inline |
References Simulators::USBL::Arguments::prng_seed, Simulators::USBL::Arguments::prng_type, Simulators::USBL::Arguments::trans_delay, Simulators::USBL::Arguments::usbl_bearing_res, Simulators::USBL::Arguments::usbl_depth, Simulators::USBL::Arguments::usbl_heading, Simulators::USBL::Arguments::usbl_lat, Simulators::USBL::Arguments::usbl_lon, and Simulators::USBL::Arguments::usbl_slant_acc.
|
inline |
|
inline |
|
inline |
Compute actual bearing angle and range from USBL transducer to vehicle.
References Simulators::USBL::Arguments::usbl_heading.
|
inline |
Compute simulated sensor data using data from manufacturer.
References Simulators::USBL::USBLMessage::bearing, Simulators::USBL::USBLMessage::elevation, DUNE::Math::Random::Generator::gaussian(), DUNE::Math::norm(), Simulators::USBL::USBLMessage::range, Simulators::USBL::Arguments::usbl_bearing_res, Simulators::USBL::Arguments::usbl_depth, Simulators::USBL::Arguments::usbl_heading, and Simulators::USBL::Arguments::usbl_slant_acc.
|
inline |
|
inline |
|
inline |
|
inline |
IMC::DevDataBinary Simulators::USBL::Task::m_dev |
A device binary message for now.
IMC::EntityState Simulators::USBL::Task::m_ent |
Entity state message.
Random::Generator* Simulators::USBL::Task::m_prng |
PRNG handle.
IMC::SimulatedState Simulators::USBL::Task::m_sstate |
Current position.
double Simulators::USBL::Task::m_usbl_off_e |
East offset of the USBL acoustic transducer.
double Simulators::USBL::Task::m_usbl_off_n |
North offset of the USBL acoustic transducer.