Public Member Functions | Private Member Functions | Private Attributes
MultiStrategy Class Reference

Provide tools to let drones communicate a common strategy. More...

#include <multi_strategy.h>

List of all members.

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< DroneRolerole_list
 Frequently updated list of drone roles.

Detailed Description

Provide tools to let drones communicate a common strategy.

Definition at line 39 of file multi_strategy.h.


Constructor & Destructor Documentation

Contructor.

Definition at line 13 of file multi_strategy.cpp.

Destructor.

Definition at line 24 of file multi_strategy.cpp.


Member Function Documentation

Definition at line 28 of file multi_strategy.cpp.

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.


Member Data Documentation

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.

Definition at line 42 of file multi_strategy.h.

std::string MultiStrategy::ready_channel [private]

Definition at line 46 of file multi_strategy.h.

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.


The documentation for this class was generated from the following files:


ucl_drone
Author(s): dronesinma
autogenerated on Sat Jun 8 2019 20:51:53