DUNE: Uniform Navigational Environment  2.6.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 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

References m_origin.

void Simulators::GPS::Task::consume ( const IMC::SimulatedState *  msg)
inline

References m_fix, m_sstate, and m_sstate_at_fix.

void Simulators::GPS::Task::onUpdateParameters ( void  )
inline
void Simulators::GPS::Task::reportInvalidFix ( void  )
inline

Report invalid fix.

References m_fix.

Referenced by task().

Member Data Documentation

Arguments Simulators::GPS::Task::m_args

Task arguments.

Referenced by onUpdateParameters(), Task(), and task().

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

Euler Angles message.

Referenced by Task(), and task().

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

GPS Fix message.

Referenced by consume(), reportInvalidFix(), Task(), and task().

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

Ground velocity message.

Referenced by Task(), and task().

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

Origin for simulated state.

Referenced by consume(), onUpdateParameters(), and task().

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

Current simulated state.

Referenced by consume(), and task().

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

SimulatedState.

Referenced by consume().

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