DUNE: Uniform Navigational Environment  2.6.1
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 onEntityResolution (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
 
Systems m_cmd_filtered_sys
 
Entities m_cmd_filtered_ent
 
Systems m_state_filtered_sys
 
Entities m_state_filtered_ent
 

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

References m_airspeed.

void Control::Path::Height::Task::consume ( const IMC::DesiredZ *  desired_z)
inline
void Control::Path::Height::Task::onActivation ( void  )
inline

References m_first_run.

void Control::Path::Height::Task::onDeactivation ( void  )
inline
void Control::Path::Height::Task::task ( void  )
inline

References m_vrate.

Member Data Documentation

double Control::Path::Height::Task::m_airspeed

Referenced by consume().

Arguments Control::Path::Height::Task::m_args

Referenced by consume(), onEntityResolution(), and Task().

Entities Control::Path::Height::Task::m_cmd_filtered_ent

Referenced by consume(), and onEntityResolution().

Systems Control::Path::Height::Task::m_cmd_filtered_sys

List of systems and entities allowed to define a command.

Referenced by consume(), and onEntityResolution().

bool Control::Path::Height::Task::m_first_run

Referenced by consume(), and onActivation().

double Control::Path::Height::Task::m_h_dot_cmd

Referenced by consume().

Entities Control::Path::Height::Task::m_state_filtered_ent

Referenced by consume(), and onEntityResolution().

Systems Control::Path::Height::Task::m_state_filtered_sys

List of systems and entities allowed to pass EstimatedState.

Referenced by consume(), and onEntityResolution().

double Control::Path::Height::Task::m_target_z

Referenced by consume().

IMC::DesiredVerticalRate Control::Path::Height::Task::m_vrate

Referenced by consume(), and task().

Collaboration diagram for Control::Path::Height::Task:
Collaboration graph