DUNE: Uniform Navigational Environment  2020.01.0
Control::Path::Height::Task Struct Reference

Public Member Functions

 Task (const std::string &name, Tasks::Context &ctx)
 
void onActivation (void)
 
void onDeactivation (void)
 
void consume (const IMC::ControlLoops *c_loops)
 
void onResourceRelease (void)
 
void onResourceAcquisition (void)
 
void consume (const IMC::IndicatedSpeed *airspeed)
 
void consume (const IMC::DesiredZ *desired_z)
 
void consume (const IMC::EstimatedState *state)
 
void task (void)
 

Public Attributes

Arguments m_args
 
IMC::DesiredVerticalRate m_vrate
 
double m_h_dot_cmd
 
double m_airspeed
 
double m_target_z
 
bool m_first_run
 
DUNE::Tasks::SourceFilterm_cmd_flt
 
DUNE::Tasks::SourceFilterm_state_flt
 

Constructor & Destructor Documentation

Control::Path::Height::Task::Task ( const std::string &  name,
Tasks::Context &  ctx 
)
inline

Member Function Documentation

void Control::Path::Height::Task::consume ( const IMC::ControlLoops *  c_loops)
inline
void Control::Path::Height::Task::consume ( const IMC::IndicatedSpeed *  airspeed)
inline
void Control::Path::Height::Task::consume ( const IMC::DesiredZ *  desired_z)
inline
void Control::Path::Height::Task::consume ( const IMC::EstimatedState *  state)
inline
void Control::Path::Height::Task::onActivation ( void  )
inline
void Control::Path::Height::Task::onDeactivation ( void  )
inline
void Control::Path::Height::Task::onResourceAcquisition ( void  )
inline
void Control::Path::Height::Task::onResourceRelease ( void  )
inline
void Control::Path::Height::Task::task ( void  )
inline

Member Data Documentation

double Control::Path::Height::Task::m_airspeed
Arguments Control::Path::Height::Task::m_args
DUNE::Tasks::SourceFilter* Control::Path::Height::Task::m_cmd_flt

Commands filter.

bool Control::Path::Height::Task::m_first_run
double Control::Path::Height::Task::m_h_dot_cmd
DUNE::Tasks::SourceFilter* Control::Path::Height::Task::m_state_flt

EstimatedState filter.

double Control::Path::Height::Task::m_target_z
IMC::DesiredVerticalRate Control::Path::Height::Task::m_vrate
Collaboration diagram for Control::Path::Height::Task:
Collaboration graph