![]() |
DUNE: Uniform Navigational Environment
2016.05.0
|
Public Member Functions | |
Task (const std::string &name, Tasks::Context &ctx) | |
void | onUpdateParameters (void) |
void | onEntityResolution (void) |
void | onResourceAcquisition (void) |
void | onResourceRelease (void) |
void | onRequestActivation (void) |
void | onRequestDeactivation (void) |
void | consume (const IMC::PlanControl *msg) |
void | consume (const IMC::PlanDB *msg) |
void | consume (const IMC::EntityActivationState *msg) |
void | consume (const IMC::DesiredRoll *msg) |
void | consume (const IMC::DesiredSpeed *msg) |
void | consume (const IMC::DesiredZ *msg) |
void | consume (const IMC::EstimatedStreamVelocity *msg) |
void | consume (const IMC::EstimatedState *msg) |
void | task (void) |
void | dispatchAlias (IMC::Message *msg) |
void | setLeaderState (const IMC::LeaderState *leader_state) |
Matrix | matrixRotRbody2gnd (float roll, float pitch) |
template<typename Ta , typename Tb , typename Tc , typename Td , typename Te > | |
void | positionReframing (const Ta lat1, const Ta lon1, const Tb hei1, const Tc lat2, const Tc lon2, const Td hei2, Te *n, Te *e, Te *d) |
void | periodicUpdate (const double &d_time) |
void | updateLeaderLimits (void) |
![]() | |
Periodic (const std::string &name, Context &ctx) | |
virtual | ~Periodic (void) |
void | setFrequency (double freq) |
double | getFrequency (void) const |
double | getRunTime (void) const |
unsigned | getRunCount (void) const |
![]() | |
Task (const std::string &name, Context &context) | |
virtual | ~Task (void) |
const char * | getName (void) const |
const char * | getSystemName (void) const |
unsigned int | getSystemId (void) const |
unsigned int | getEntityId (void) const |
unsigned int | resolveEntity (const std::string &label) const |
std::string | resolveEntity (unsigned int id) const |
DebugLevel | getDebugLevel (void) const |
uint16_t | getActivationTime (void) const |
uint16_t | getDeactivationTime (void) const |
unsigned int | resolveSystemName (const std::string &name) const |
const char * | resolveSystemId (unsigned int id) const |
void | loadConfig (void) |
void | setPriority (unsigned int value) |
unsigned int | getPriority (void) const |
void | inf (const char *format,...) DUNE_PRINTF_FORMAT(2 |
void void | war (const char *format,...) DUNE_PRINTF_FORMAT(2 |
void void void | err (const char *format,...) DUNE_PRINTF_FORMAT(2 |
void void void void | cri (const char *format,...) DUNE_PRINTF_FORMAT(2 |
void void void void void | debug (const char *format,...) DUNE_PRINTF_FORMAT(2 |
void void void void void void | trace (const char *format,...) DUNE_PRINTF_FORMAT(2 |
void void void void void void void | spew (const char *format,...) DUNE_PRINTF_FORMAT(2 |
void void void void void void void void | dispatch (IMC::Message *msg, unsigned int flags=0) |
void | dispatch (IMC::Message &msg, unsigned int flags=0) |
void | dispatchReply (const IMC::Message &original, IMC::Message &msg, unsigned int flags=0) |
void | receive (const IMC::Message *msg) |
void | reserveEntities (void) |
void | resolveEntities (void) |
void | acquireResources (void) |
void | releaseResources (void) |
void | initializeResources (void) |
void | updateParameters (bool act_deact=true) |
void | writeParamsXML (std::ostream &os) const |
const char * | getEntityLabel (void) const |
void | setEntityLabel (const std::string &label) |
![]() | |
AbstractTask (void) | |
virtual | ~AbstractTask (void) |
![]() | |
Thread (void) | |
virtual | ~Thread (void) |
int | getProcessorUsage (void) |
![]() | |
Runnable (void) | |
virtual | ~Runnable (void) |
void | start (void) |
void | stop (void) |
void | join (void) |
void | stopAndJoin (void) |
void | setPriority (Scheduler::Policy policy, unsigned priority) |
State | getState (void) |
bool | isCreated (void) |
bool | isStopping (void) |
bool | isRunning (void) |
bool | isStarting (void) |
bool | isDead (void) |
Additional Inherited Members | |
![]() | |
enum | State { StateStarting, StateRunning, StateStopping, StateDead, StateUnknown } |
![]() | |
void | setEntityState (IMC::EntityState::StateEnum state, Status::Code code) |
void | setEntityState (IMC::EntityState::StateEnum state, const std::string &description) |
IMC::EntityState::StateEnum | getEntityState (void) const |
unsigned int | reserveEntity (const std::string &label) |
template<typename E > | |
E * | reserveEntity (const std::string &label) |
bool | stopping (void) |
bool | isActive (void) const |
bool | isActivating (void) const |
bool | isDeactivating (void) const |
void | waitForMessages (double timeout) |
void | consumeMessages (void) |
template<typename T > | |
Parameter & | param (const std::string &name, T &var) |
template<typename Y , typename T > | |
Parameter & | param (const std::string &name, T &var) |
template<typename T > | |
bool | paramChanged (T &var) |
void | paramActive (Parameter::Scope def_scope, Parameter::Visibility def_visibility, bool def_value=false) |
void | setParamSectionEditor (const std::string &name) |
template<typename M , typename T > | |
void | bind (T *task_obj, void(T::*consumer)(const M *)=&T::consume) |
template<typename T > | |
void | bind (T *task_obj, const std::vector< uint32_t > &list) |
template<typename T , typename M > | |
void | bind (T *task_obj, const std::vector< uint32_t > &list, void(T::*consumer)(const M *)=&T::consume) |
template<typename T > | |
void | bind (T *task_obj, const std::vector< std::string > &list) |
void | requestActivation (void) |
void | requestDeactivation (void) |
void | activate (void) |
void | activationFailed (const std::string &reason) |
void | deactivate (void) |
void | deactivationFailed (const std::string &reason) |
virtual bool | onWriteParamsXML (std::ostream &os) const |
virtual void | onEntityReservation (void) |
virtual void | onReportEntityState (void) |
virtual void | onResourceInitialization (void) |
virtual void | onActivation (void) |
virtual void | onDeactivation (void) |
virtual void | onQueryEntityParameters (const IMC::QueryEntityParameters *msg) |
virtual void | onSetEntityParameters (const IMC::SetEntityParameters *msg) |
virtual void | onPushEntityParameters (const IMC::PushEntityParameters *msg) |
virtual void | onPopEntityParameters (const IMC::PopEntityParameters *msg) |
![]() | |
void | startImpl (void) |
void | stopImpl (void) |
void | joinImpl (void) |
void | setPriorityImpl (Scheduler::Policy policy, unsigned priority) |
![]() | |
Context & | m_ctx |
std::vector < Entities::BasicEntity * > | m_entities |
|
inline |
References Maneuver::VehicleFormation::Coordinator::Arguments::alt_max, Maneuver::VehicleFormation::Coordinator::Arguments::alt_min, Maneuver::VehicleFormation::Coordinator::Arguments::bank_lim, Maneuver::VehicleFormation::Coordinator::Arguments::c_alt, Maneuver::VehicleFormation::Coordinator::Arguments::c_bank, Maneuver::VehicleFormation::Coordinator::Arguments::c_speed, Maneuver::VehicleFormation::Coordinator::Arguments::cmd_src, Maneuver::VehicleFormation::Coordinator::Arguments::ctrl_frequency, Maneuver::VehicleFormation::Coordinator::Arguments::debug, Maneuver::VehicleFormation::Coordinator::Arguments::default_alt, Maneuver::VehicleFormation::Coordinator::Arguments::default_height, Maneuver::VehicleFormation::Coordinator::Arguments::default_lat, Maneuver::VehicleFormation::Coordinator::Arguments::default_lon, Maneuver::VehicleFormation::Coordinator::Arguments::default_speed, DUNE::Tasks::Parameter::defaultValue(), Maneuver::VehicleFormation::Coordinator::Arguments::formation_frame, Maneuver::VehicleFormation::Coordinator::Arguments::formation_pos, Maneuver::VehicleFormation::Coordinator::Arguments::formation_systems, Maneuver::VehicleFormation::Coordinator::Arguments::l_accel_x, Maneuver::VehicleFormation::Coordinator::Arguments::l_bank_rate, Maneuver::VehicleFormation::Coordinator::Arguments::l_vert_slope, m_args, Maneuver::VehicleFormation::Coordinator::Arguments::main, DUNE::Math::min(), DUNE::Tasks::Task::param(), DUNE::Math::Angles::radians(), Maneuver::VehicleFormation::Coordinator::Arguments::sim_type, Maneuver::VehicleFormation::Coordinator::Arguments::speed_max, Maneuver::VehicleFormation::Coordinator::Arguments::speed_min, Maneuver::VehicleFormation::Coordinator::Arguments::src_alias, and Maneuver::VehicleFormation::Coordinator::Arguments::sync_frequency.
|
inline |
|
inline |
References DUNE::Tasks::Task::debug(), dispatchAlias(), DUNE::Tasks::Task::err(), DUNE::Tasks::Task::getEntityId(), DUNE::Tasks::Task::getSystemId(), DUNE::Tasks::Task::isActive(), m_alias_id, m_args, m_init_leader, m_last_time_sync, m_llh_ref_pos, m_plan_ctrl_last, m_plan_new, m_team_state, m_wind, Maneuver::VehicleFormation::Coordinator::Arguments::main, DUNE::Tasks::Task::requestActivation(), DUNE::Tasks::Task::requestDeactivation(), DUNE::Tasks::Task::resolveEntity(), DUNE::Tasks::Task::resolveSystemId(), setLeaderState(), DUNE::Tasks::Task::spew(), DUNE::Tasks::Task::trace(), and DUNE::Tasks::Task::war().
|
inline |
|
inline |
References DUNE::Simulation::UAVSimulation::commandBank(), DUNE::Math::Angles::degrees(), DUNE::Tasks::Task::isActive(), m_bank_lim, m_filtered_ent, m_filtered_sys, m_model, m_standalone, DUNE::Tasks::Task::resolveEntity(), DUNE::Tasks::Task::resolveSystemId(), DUNE::Tasks::Task::spew(), DUNE::Tasks::Task::trace(), and DUNE::Math::trimValue().
|
inline |
References DUNE::Simulation::UAVSimulation::commandAirspeed(), dispatchAlias(), DUNE::Tasks::Task::isActive(), m_args, m_bank_lim, m_filtered_ent, m_filtered_sys, m_model, m_speed_cmd_leader, m_speed_units_leader, m_standalone, m_uav_formation, DUNE::Tasks::Task::resolveEntity(), DUNE::Tasks::Task::resolveSystemId(), Maneuver::VehicleFormation::Coordinator::Arguments::speed_max, Maneuver::VehicleFormation::Coordinator::Arguments::speed_min, DUNE::Tasks::Task::spew(), DUNE::Tasks::Task::trace(), DUNE::Math::trimValue(), updateLeaderLimits(), and DUNE::Tasks::Task::war().
|
inline |
References Maneuver::VehicleFormation::Coordinator::Arguments::alt_max, Maneuver::VehicleFormation::Coordinator::Arguments::alt_min, DUNE::Simulation::UAVSimulation::commandAlt(), DUNE::Tasks::Task::isActive(), m_alt_cmd_leader, m_alt_units_leader, m_args, m_filtered_ent, m_filtered_sys, m_llh_ref_pos, m_model, m_standalone, DUNE::Tasks::Task::resolveEntity(), DUNE::Tasks::Task::resolveSystemId(), DUNE::Tasks::Task::spew(), DUNE::Tasks::Task::trace(), and DUNE::Math::trimValue().
|
inline |
References m_uav_id, m_uav_n, m_vehicle_wind_flag, m_wind, m_wind_speed, m_wind_team, and DUNE::Math::Matrix::norm_2().
|
inline |
References dispatchAlias(), DUNE::Tasks::Task::getSystemId(), DUNE::Tasks::Task::isActivating(), DUNE::Tasks::Task::isActive(), m_alias_id, m_formation_pos, m_init_leader, m_last_state_update, m_last_time_sync, m_llh_ref_pos, m_standalone, m_team_state, m_timestep_sync, m_uav_id, m_uav_n, m_vehicle_state, m_vehicle_state_flag, m_wind, positionReframing(), DUNE::Tasks::Task::resolveSystemId(), DUNE::Math::Matrix::set(), DUNE::Tasks::Task::spew(), DUNE::Tasks::Task::trace(), and DUNE::Tasks::Task::war().
|
inline |
References DUNE::Tasks::Task::dispatch(), and m_alias_id.
Referenced by consume(), onRequestActivation(), onRequestDeactivation(), periodicUpdate(), and task().
|
inline |
|
inlinevirtual |
Called when the task is instructed to resolve all the entity identifiers it needs for normal execution.
See resolveEntity(). Derived classes that need to resolve entity identifiers should override this function.
Reimplemented from DUNE::Tasks::Task.
References Maneuver::VehicleFormation::Coordinator::Arguments::cmd_src, DUNE::Tasks::Task::debug(), m_args, m_filtered_ent, m_filtered_sys, DUNE::Tasks::Task::resolveEntity(), DUNE::Tasks::Task::resolveSystemName(), DUNE::Tasks::Task::spew(), and DUNE::Tasks::Task::war().
|
inlinevirtual |
Called when an external activation request is received.
Derived classes that need to perform extra steps to prepare normal execution should replace the default behaviour of immediate activation with calls to activate() when the request is completed or activationFailed() if the request cannot be honoured.
Reimplemented from DUNE::Tasks::Task.
References dispatchAlias(), Maneuver::VehicleFormation::Coordinator::Arguments::formation_frame, m_alt_max, m_alt_min, m_args, m_bank_lim, m_formation_pos, m_plan_ctrl_last, m_plan_params, m_speed_max, m_speed_min, m_uav_formation, m_uav_id, m_uav_n, Maneuver::VehicleFormation::Coordinator::Arguments::main, DUNE::Tasks::Task::spew(), and DUNE::Tasks::Task::war().
Referenced by onUpdateParameters().
|
inlinevirtual |
Called when an external deactivation request is received.
Derived classes that need to perform extra steps to prepare normal execution should replace the default behaviour of immediate deactivation with calls to deactivate() when the request is completed or deactivationFailed() if the request cannot be honoured.
Reimplemented from DUNE::Tasks::Task.
References dispatchAlias(), m_args, m_uav_formation, Maneuver::VehicleFormation::Coordinator::Arguments::main, DUNE::Tasks::Task::spew(), and DUNE::Tasks::Task::war().
|
inlinevirtual |
Called when the task is instructed to acquire resources whose configuration is defined by run-time parameters.
Reimplemented from DUNE::Tasks::Task.
References DUNE::Tasks::Task::setEntityState().
|
inlinevirtual |
Called when the task is instructed to release resources.
Derived classes that override this function must not assume that any resource was previously acquired. This function must be implemented in such a way that it can be called at any time.
Reimplemented from DUNE::Tasks::Task.
|
inlinevirtual |
Called when the task is instructed to update its run-time parameters.
Derived classes that need to compute auxiliary values based on run-time parameters should override this function.
Reimplemented from DUNE::Tasks::Task.
References Maneuver::VehicleFormation::Coordinator::Arguments::alt_max, Maneuver::VehicleFormation::Coordinator::Arguments::alt_min, Maneuver::VehicleFormation::Coordinator::Arguments::bank_lim, Maneuver::VehicleFormation::Coordinator::Arguments::c_bank, Maneuver::VehicleFormation::Coordinator::Arguments::c_speed, DUNE::Simulation::UAVSimulation::command(), Maneuver::VehicleFormation::Coordinator::Arguments::ctrl_frequency, Maneuver::VehicleFormation::Coordinator::Arguments::debug, DUNE::Tasks::Task::debug(), Maneuver::VehicleFormation::Coordinator::Arguments::default_alt, Maneuver::VehicleFormation::Coordinator::Arguments::default_lat, Maneuver::VehicleFormation::Coordinator::Arguments::default_lon, Maneuver::VehicleFormation::Coordinator::Arguments::default_speed, Maneuver::VehicleFormation::Coordinator::Arguments::formation_pos, Maneuver::VehicleFormation::Coordinator::Arguments::formation_systems, DUNE::Math::Matrix::get(), DUNE::Tasks::Periodic::getFrequency(), DUNE::Tasks::Task::getSystemId(), DUNE::Tasks::Task::inf(), DUNE::Tasks::Task::isActivating(), DUNE::Tasks::Task::isActive(), Maneuver::VehicleFormation::Coordinator::Arguments::l_accel_x, Maneuver::VehicleFormation::Coordinator::Arguments::l_bank_rate, m_airspeed_cmd, m_alias_id, m_alt_cmd_leader, m_alt_max_uav, m_alt_min_uav, m_altitude_cmd, m_args, m_bank_lim, m_bank_lim_uav, m_debug, m_formation_pos, m_last_state_update, m_llh_ref_pos, m_model, m_param_update_first, m_plan_new, m_plan_params, m_position, DUNE::Simulation::UAVSimulation::m_sim_type, m_speed_cmd_leader, m_speed_max_uav, m_speed_min_uav, m_timestep, m_timestep_ctrl, m_timestep_sync, m_uav_id, m_uav_n, m_vehicle_state, m_vehicle_state_flag, m_vehicle_wind_flag, m_velocity, m_wind_team, DUNE::Math::Matrix, onRequestActivation(), DUNE::Tasks::Task::paramChanged(), DUNE::Math::Angles::radians(), DUNE::Math::Matrix::resizeAndKeep(), DUNE::Tasks::Task::resolveSystemId(), DUNE::Tasks::Task::resolveSystemName(), DUNE::Math::Matrix::rows(), DUNE::Math::Matrix::set(), DUNE::Simulation::UAVSimulation::setAccelLim(), DUNE::Simulation::UAVSimulation::setBankRateLim(), DUNE::Simulation::UAVSimulation::setCtrl(), Maneuver::VehicleFormation::Coordinator::Arguments::sim_type, DUNE::Math::Matrix::size(), Maneuver::VehicleFormation::Coordinator::Arguments::speed_max, Maneuver::VehicleFormation::Coordinator::Arguments::speed_min, DUNE::Tasks::Task::spew(), Maneuver::VehicleFormation::Coordinator::Arguments::src_alias, Maneuver::VehicleFormation::Coordinator::Arguments::sync_frequency, DUNE::Simulation::UAVSimulation, updateLeaderLimits(), DUNE::Tasks::Task::war(), and DUNE::Math::Matrix::~Matrix().
|
inline |
Update leader simulated state for standard time periods.
References dispatchAlias(), DUNE::Math::Matrix::get(), DUNE::Simulation::UAVSimulation::getAirspeed(), DUNE::Simulation::UAVSimulation::getPosition(), DUNE::Simulation::UAVSimulation::getVelocity(), m_debug, m_estate_leader, m_last_leader_update, m_model, m_position, m_timestep, m_velocity, m_wind, DUNE::Simulation::UAVSimulation::m_wind, DUNE::Math::Matrix::norm_2(), DUNE::Math::Matrix::toDCM(), DUNE::Math::transpose(), and DUNE::Simulation::UAVSimulation::update().
Referenced by task().
|
inline |
Adjust offset position from a reference frame to a new reference frame.
[in] | lat1 | new reference latitude (rad). |
[in] | lon1 | new reference longitude (rad). |
[in] | hei1 | new reference height (m). |
[in] | lat2 | old reference latitude (rad). |
[in] | lon2 | old reference longitude (rad). |
[in] | hei2 | old reference height (m). |
[in,out] | n | North offset (m). |
[in,out] | e | East offset (m). |
[in,out] | d | Down offset (m). |
Referenced by consume(), and setLeaderState().
|
inline |
References DUNE::Math::Angles::degrees(), DUNE::Math::Matrix::get(), m_bank_lim, m_estate_leader, m_init_leader, m_last_leader_update, m_llh_ref_pos, m_model, m_vehicle_state, DUNE::Simulation::UAVSimulation::m_wind, positionReframing(), DUNE::Math::Matrix::set(), DUNE::Simulation::UAVSimulation::setPosition(), DUNE::Simulation::UAVSimulation::setVelocity(), DUNE::Tasks::Task::trace(), DUNE::Math::trimValue(), and DUNE::Math::Matrix::vertCat().
Referenced by consume().
|
inlinevirtual |
The task to be executed on each cycle.
Implements DUNE::Tasks::Periodic.
References DUNE::Tasks::Task::consumeMessages(), dispatchAlias(), DUNE::Tasks::Task::getSystemName(), DUNE::Tasks::Task::isActive(), m_alias_id, m_args, m_clock_diff, m_last_time_trace, m_standalone, periodicUpdate(), DUNE::Tasks::Task::resolveEntity(), DUNE::Tasks::Task::spew(), and Maneuver::VehicleFormation::Coordinator::Arguments::src_alias.
|
inline |
References Maneuver::VehicleFormation::Coordinator::Arguments::bank_lim, Maneuver::VehicleFormation::Coordinator::Arguments::formation_frame, m_alt_max, m_alt_max_uav, m_alt_min, m_alt_min_uav, m_args, m_bank_lim, m_bank_lim_uav, m_formation_pos, m_g, m_speed_cmd_leader, m_speed_max, m_speed_max_uav, m_speed_min, m_speed_min_uav, m_uav_n, m_wind_speed, and DUNE::Tasks::Task::spew().
Referenced by consume(), and onUpdateParameters().
IMC::DesiredSpeed Maneuver::VehicleFormation::Coordinator::Task::m_airspeed_cmd |
Referenced by onUpdateParameters().
uint32_t Maneuver::VehicleFormation::Coordinator::Task::m_alias_id |
Referenced by consume(), dispatchAlias(), onUpdateParameters(), and task().
double Maneuver::VehicleFormation::Coordinator::Task::m_alt_cmd_leader |
Referenced by consume(), and onUpdateParameters().
double Maneuver::VehicleFormation::Coordinator::Task::m_alt_max |
Referenced by onRequestActivation(), and updateLeaderLimits().
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_alt_max_uav |
Referenced by onUpdateParameters(), and updateLeaderLimits().
double Maneuver::VehicleFormation::Coordinator::Task::m_alt_min |
Referenced by onRequestActivation(), and updateLeaderLimits().
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_alt_min_uav |
Referenced by onUpdateParameters(), and updateLeaderLimits().
uint8_t Maneuver::VehicleFormation::Coordinator::Task::m_alt_units_leader |
Referenced by consume().
IMC::DesiredZ Maneuver::VehicleFormation::Coordinator::Task::m_altitude_cmd |
Referenced by onUpdateParameters().
Arguments Maneuver::VehicleFormation::Coordinator::Task::m_args |
Task arguments.
Referenced by consume(), onEntityResolution(), onRequestActivation(), onRequestDeactivation(), onUpdateParameters(), Task(), task(), and updateLeaderLimits().
IMC::DesiredRoll Maneuver::VehicleFormation::Coordinator::Task::m_bank_cmd |
Vehicle commands.
double Maneuver::VehicleFormation::Coordinator::Task::m_bank_lim |
Constraints.
Referenced by consume(), onRequestActivation(), onUpdateParameters(), setLeaderState(), and updateLeaderLimits().
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_bank_lim_uav |
Referenced by onUpdateParameters(), and updateLeaderLimits().
double Maneuver::VehicleFormation::Coordinator::Task::m_clock_diff |
Simulation and control time variables.
Referenced by task().
bool Maneuver::VehicleFormation::Coordinator::Task::m_debug |
Referenced by onUpdateParameters(), and periodicUpdate().
IMC::EstimatedState Maneuver::VehicleFormation::Coordinator::Task::m_estate_leader |
Leader's estimated state.
Referenced by periodicUpdate(), and setLeaderState().
std::map<uint32_t, Entities> Maneuver::VehicleFormation::Coordinator::Task::m_filtered_ent |
List of entities allowed to define a command.
Referenced by consume(), and onEntityResolution().
std::map<uint32_t, Systems> Maneuver::VehicleFormation::Coordinator::Task::m_filtered_sys |
List of systems allowed to define a command.
Referenced by consume(), and onEntityResolution().
bool Maneuver::VehicleFormation::Coordinator::Task::m_formation_control_state |
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_formation_pos |
Referenced by consume(), onRequestActivation(), onUpdateParameters(), and updateLeaderLimits().
double Maneuver::VehicleFormation::Coordinator::Task::m_g |
Referenced by updateLeaderLimits().
IMC::LeaderState Maneuver::VehicleFormation::Coordinator::Task::m_init_leader |
Leader initial state.
Referenced by consume(), and setLeaderState().
double Maneuver::VehicleFormation::Coordinator::Task::m_last_leader_update |
Referenced by periodicUpdate(), and setLeaderState().
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_last_state_update |
Referenced by consume(), and onUpdateParameters().
double Maneuver::VehicleFormation::Coordinator::Task::m_last_time_debug |
Last time debug information was shown.
double Maneuver::VehicleFormation::Coordinator::Task::m_last_time_spew |
double Maneuver::VehicleFormation::Coordinator::Task::m_last_time_sync |
Referenced by consume().
double Maneuver::VehicleFormation::Coordinator::Task::m_last_time_trace |
Referenced by task().
double Maneuver::VehicleFormation::Coordinator::Task::m_llh_ref_pos[3] |
Vehicle's referential position (Latitude, Longitude, and height).
Referenced by consume(), onUpdateParameters(), and setLeaderState().
UAVSimulation* Maneuver::VehicleFormation::Coordinator::Task::m_model |
Leader vehicle model.
Referenced by consume(), onUpdateParameters(), periodicUpdate(), and setLeaderState().
bool Maneuver::VehicleFormation::Coordinator::Task::m_param_update_first |
Referenced by onUpdateParameters().
IMC::PlanControl Maneuver::VehicleFormation::Coordinator::Task::m_plan_ctrl_last |
Referenced by consume(), and onRequestActivation().
bool Maneuver::VehicleFormation::Coordinator::Task::m_plan_new |
Referenced by consume(), and onUpdateParameters().
bool Maneuver::VehicleFormation::Coordinator::Task::m_plan_params |
Referenced by onRequestActivation(), and onUpdateParameters().
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_position |
Leader's simulated position (X,Y,Z,phi,theta,psi).
Referenced by onUpdateParameters(), and periodicUpdate().
double Maneuver::VehicleFormation::Coordinator::Task::m_speed_cmd_leader |
Referenced by consume(), onUpdateParameters(), and updateLeaderLimits().
double Maneuver::VehicleFormation::Coordinator::Task::m_speed_max |
Referenced by onRequestActivation(), and updateLeaderLimits().
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_speed_max_uav |
Referenced by onUpdateParameters(), and updateLeaderLimits().
double Maneuver::VehicleFormation::Coordinator::Task::m_speed_min |
Referenced by onRequestActivation(), and updateLeaderLimits().
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_speed_min_uav |
Referenced by onUpdateParameters(), and updateLeaderLimits().
uint8_t Maneuver::VehicleFormation::Coordinator::Task::m_speed_units_leader |
Referenced by consume().
bool Maneuver::VehicleFormation::Coordinator::Task::m_standalone |
double Maneuver::VehicleFormation::Coordinator::Task::m_timestep |
Simulation process time step.
Referenced by onUpdateParameters(), and periodicUpdate().
double Maneuver::VehicleFormation::Coordinator::Task::m_timestep_ctrl |
Referenced by onUpdateParameters().
double Maneuver::VehicleFormation::Coordinator::Task::m_timestep_sync |
Referenced by consume(), and onUpdateParameters().
IMC::Formation Maneuver::VehicleFormation::Coordinator::Task::m_uav_formation |
Formation synchronization messages.
Referenced by consume(), onRequestActivation(), and onRequestDeactivation().
Systems Maneuver::VehicleFormation::Coordinator::Task::m_uav_id |
Referenced by consume(), onRequestActivation(), and onUpdateParameters().
unsigned int Maneuver::VehicleFormation::Coordinator::Task::m_uav_n |
Number of team vehicles.
Referenced by consume(), onRequestActivation(), onUpdateParameters(), and updateLeaderLimits().
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_vehicle_state |
System state variables.
Referenced by consume(), onUpdateParameters(), and setLeaderState().
std::vector<bool> Maneuver::VehicleFormation::Coordinator::Task::m_vehicle_state_flag |
Referenced by consume(), and onUpdateParameters().
std::vector<bool> Maneuver::VehicleFormation::Coordinator::Task::m_vehicle_wind_flag |
Referenced by consume(), and onUpdateParameters().
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_velocity |
Leader's simulated velocity (u,v,w,p,q,r).
Referenced by onUpdateParameters(), and periodicUpdate().
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_wind |
Environment variables.
Referenced by consume(), and periodicUpdate().
double Maneuver::VehicleFormation::Coordinator::Task::m_wind_speed |
Referenced by consume(), and updateLeaderLimits().
Matrix Maneuver::VehicleFormation::Coordinator::Task::m_wind_team |
Referenced by consume(), and onUpdateParameters().