DUNE: Uniform Navigational Environment  2019.02.1
Simulators::GPS::Task Struct Reference

Detailed Description

GPS simulator task.

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
void onUpdateParameters (void)
 
void onResourceInitialization (void)
 
void consume (const IMC::GpsFix *msg)
 
void consume (const IMC::SimulatedState *msg)
 
void reportInvalidFix (void)
 
void task (void)
 

Public Attributes

IMC::GpsFix m_fix
 
IMC::GroundVelocity m_gv
 
IMC::EulerAngles m_euler
 
IMC::SimulatedState m_sstate
 
IMC::SimulatedState m_sstate_at_fix
 
IMC::GpsFix m_origin
 
Arguments m_args
 

Constructor & Destructor Documentation

Member Function Documentation

void Simulators::GPS::Task::consume ( const IMC::GpsFix *  msg)
inline
void Simulators::GPS::Task::consume ( const IMC::SimulatedState *  msg)
inline
void Simulators::GPS::Task::onResourceInitialization ( void  )
inline
void Simulators::GPS::Task::onUpdateParameters ( void  )
inline
void Simulators::GPS::Task::reportInvalidFix ( void  )
inline

Report invalid fix.

Member Data Documentation

Arguments Simulators::GPS::Task::m_args

Task arguments.

IMC::EulerAngles Simulators::GPS::Task::m_euler

Euler Angles message.

IMC::GpsFix Simulators::GPS::Task::m_fix

GPS Fix message.

IMC::GroundVelocity Simulators::GPS::Task::m_gv

Ground velocity message.

IMC::GpsFix Simulators::GPS::Task::m_origin

Origin for simulated state.

IMC::SimulatedState Simulators::GPS::Task::m_sstate

Current simulated state.

IMC::SimulatedState Simulators::GPS::Task::m_sstate_at_fix

SimulatedState.

Collaboration diagram for Simulators::GPS::Task:
Collaboration graph