DUNE: Uniform Navigational Environment
2020.01.0
|
Simulator task.
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onUpdateParameters (void) |
void | onResourceRelease (void) |
void | onResourceInitialization (void) |
void | consume (const IMC::GpsFix *msg) |
void | consume (const IMC::ServoPosition *msg) |
void | consume (const IMC::SetThrusterActuation *msg) |
void | consume (const IMC::EstimatedStreamVelocity *msg) |
void | task (void) |
Public Attributes | |
Simulators::VSIM::Vehicle * | m_vehicle |
Simulators::VSIM::World * | m_world |
IMC::SimulatedState | m_sstate |
Arguments | m_args |
double | m_svel [3] |
|
inline |
|
inline |
|
inline |
References Simulators::VSIM::UUV::updateFin().
|
inline |
References Simulators::VSIM::Vehicle::updateEngine().
|
inline |
References Simulators::VSIM::Arguments::svlabel.
|
inline |
Initialize resources and add vehicle to the world.
References Simulators::VSIM::World::addVehicle(), Simulators::VSIM::Factory::produceVehicle(), Simulators::VSIM::Factory::produceWorld(), and Simulators::VSIM::World::setTimeStep().
|
inline |
Release allocated resources.
|
inline |
References Simulators::VSIM::Arguments::time_multiplier.
|
inline |
IMC::SimulatedState Simulators::VSIM::Task::m_sstate |
Simulated position (X,Y,Z).
double Simulators::VSIM::Task::m_svel[3] |
Stream velocity.
Simulators::VSIM::Vehicle* Simulators::VSIM::Task::m_vehicle |
Simulation vehicle.
Simulators::VSIM::World* Simulators::VSIM::Task::m_world |
Simulation world.