DUNE: Uniform Navigational Environment
2019.02.1
|
Simulator task.
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
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 | task (void) |
Public Attributes | |
Simulators::VSIM::Vehicle * | m_vehicle |
Simulators::VSIM::World * | m_world |
IMC::SimulatedState | m_sstate |
double | m_start_time |
double | m_last_time |
Arguments | m_args |
|
inline |
References Simulators::VSIM::Arguments::wx, and Simulators::VSIM::Arguments::wy.
|
inline |
|
inline |
References Simulators::VSIM::UUV::updateFin().
|
inline |
References Simulators::VSIM::Vehicle::updateEngine().
|
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 |
double Simulators::VSIM::Task::m_last_time |
Last step time.
IMC::SimulatedState Simulators::VSIM::Task::m_sstate |
Simulated position (X,Y,Z).
double Simulators::VSIM::Task::m_start_time |
Start time.
Simulators::VSIM::Vehicle* Simulators::VSIM::Task::m_vehicle |
Simulation vehicle.
Simulators::VSIM::World* Simulators::VSIM::Task::m_world |
Simulation world.