DUNE: Uniform Navigational Environment
2019.02.1
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
virtual | ~Task (void) |
void | onManeuverDeactivation (void) |
void | consume (const IMC::RowsCoverage *maneuver) |
void | consume (const IMC::EstimatedState *msg) |
void | onPathControlState (const IMC::PathControlState *pcs) |
void | sendPath (double lat, double lon) |
Public Attributes | |
IMC::RowsCoverage | m_maneuver |
IMC::EstimatedState | m_state |
IMC::DesiredPath | m_path |
Maneuvers::RowsStages * | m_stages_parser |
float | m_alt_min |
double | m_cov_pred |
double | m_cov_actual_min |
double | m_cur_hstep |
Math::MovingAverage< float > * | m_alt_avrg |
unsigned int | m_stage |
Arguments | m_args |
|
inline |
Constructor.
[in] | name | task name. |
[in] | ctx | context. |
References Maneuver::RowsCoverage::Arguments::altitude_average_size, and Maneuver::RowsCoverage::Arguments::min_altitude.
|
inlinevirtual |
Destructor.
|
inline |
|
inline |
References Maneuver::RowsCoverage::Arguments::min_altitude.
|
inline |
|
inline |
On PathControlState message.
[in] | pcs | pointer to PathControlState message |
|
inline |
Send new desired path.
[in] | lat | latitude for new desired path |
[in] | lon | longitude for new desired path |
Math::MovingAverage<float>* Maneuver::RowsCoverage::Task::m_alt_avrg |
Moving average for min. altitude calculation.
float Maneuver::RowsCoverage::Task::m_alt_min |
Minimum altitude holder for hstep calculation.
double Maneuver::RowsCoverage::Task::m_cov_actual_min |
Calculated coverage with min. altitude.
double Maneuver::RowsCoverage::Task::m_cov_pred |
Predicted coverage.
double Maneuver::RowsCoverage::Task::m_cur_hstep |
Current hstep in use.
IMC::RowsCoverage Maneuver::RowsCoverage::Task::m_maneuver |
IMC::DesiredPath Maneuver::RowsCoverage::Task::m_path |
DesiredPath.
unsigned int Maneuver::RowsCoverage::Task::m_stage |
Stage counter.
Maneuvers::RowsStages* Maneuver::RowsCoverage::Task::m_stages_parser |
Rows stages parser.
IMC::EstimatedState Maneuver::RowsCoverage::Task::m_state |
EstimatedState.