DUNE: Uniform Navigational Environment  2020.01.0
Simulators::VSIM::Task Struct Reference

Detailed Description

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::Vehiclem_vehicle
 
Simulators::VSIM::Worldm_world
 
IMC::SimulatedState m_sstate
 
Arguments m_args
 
double m_svel [3]
 

Constructor & Destructor Documentation

Simulators::VSIM::Task::Task ( const std::string &  name,
Tasks::Context &  ctx 
)
inline

Member Function Documentation

void Simulators::VSIM::Task::consume ( const IMC::GpsFix *  msg)
inline
void Simulators::VSIM::Task::consume ( const IMC::ServoPosition *  msg)
inline
void Simulators::VSIM::Task::consume ( const IMC::SetThrusterActuation *  msg)
inline
void Simulators::VSIM::Task::consume ( const IMC::EstimatedStreamVelocity *  msg)
inline
void Simulators::VSIM::Task::onResourceInitialization ( void  )
inline
void Simulators::VSIM::Task::onResourceRelease ( void  )
inline

Release allocated resources.

void Simulators::VSIM::Task::onUpdateParameters ( void  )
inline

Member Data Documentation

Arguments Simulators::VSIM::Task::m_args

Task arguments.

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.

Collaboration diagram for Simulators::VSIM::Task:
Collaboration graph