Provide tools to let drones communicate a common strategy. More...
#include <multi_strategy.h>
Public Member Functions | |
void | init () |
MultiStrategy () | |
Contructor. | |
void | PublishDroneRole () |
~MultiStrategy () | |
Destructor. | |
Private Member Functions | |
void | readyCb (const ucl_drone::DroneRole::ConstPtr readyPtr) |
Callback: check which drone are ready to take part to the mission. | |
Private Attributes | |
std::string | drones_roles_channel |
ros::Publisher | drones_roles_pub |
ros::NodeHandle | nh_ |
std::string | ready_channel |
ros::Subscriber | ready_sub |
std::vector< DroneRole > | role_list |
Frequently updated list of drone roles. |
Provide tools to let drones communicate a common strategy.
Definition at line 39 of file multi_strategy.h.
Contructor.
Definition at line 13 of file multi_strategy.cpp.
Destructor.
Definition at line 24 of file multi_strategy.cpp.
void MultiStrategy::init | ( | ) |
Definition at line 28 of file multi_strategy.cpp.
void MultiStrategy::PublishDroneRole | ( | ) |
Definition at line 47 of file multi_strategy.cpp.
void MultiStrategy::readyCb | ( | const ucl_drone::DroneRole::ConstPtr | readyPtr | ) | [private] |
Callback: check which drone are ready to take part to the mission.
Definition at line 42 of file multi_strategy.cpp.
std::string MultiStrategy::drones_roles_channel [private] |
Definition at line 50 of file multi_strategy.h.
Definition at line 49 of file multi_strategy.h.
ros::NodeHandle MultiStrategy::nh_ [private] |
Definition at line 42 of file multi_strategy.h.
std::string MultiStrategy::ready_channel [private] |
Definition at line 46 of file multi_strategy.h.
ros::Subscriber MultiStrategy::ready_sub [private] |
Definition at line 45 of file multi_strategy.h.
std::vector< DroneRole > MultiStrategy::role_list [private] |
Frequently updated list of drone roles.
Definition at line 56 of file multi_strategy.h.