#include <strategy.h>
Definition at line 28 of file strategy.h.
Constructor.
Definition at line 19 of file strategy.cpp.
Destructor.
Definition at line 89 of file strategy.cpp.
void Strategy::BackToBase | ( | ) |
Definition at line 132 of file strategy.cpp.
int Strategy::FindRole | ( | ) |
Definition at line 139 of file strategy.cpp.
void Strategy::Follow | ( | ) |
Definition at line 126 of file strategy.cpp.
void Strategy::Goto | ( | ) |
Definition at line 114 of file strategy.cpp.
void Strategy::init | ( | ) |
void Strategy::Land | ( | ) |
Definition at line 120 of file strategy.cpp.
void Strategy::multi_strategyCb | ( | const ucl_drone::DroneRoles::ConstPtr | drones_rolesPtr | ) | [private] |
Definition at line 218 of file strategy.cpp.
void Strategy::navdataCb | ( | const ardrone_autonomy::Navdata::ConstPtr | navdataPtr | ) | [private] |
Definition at line 228 of file strategy.cpp.
void Strategy::poseFromSlaveCb | ( | const ucl_drone::Pose3D::ConstPtr | posePtr | ) | [private] |
Definition at line 246 of file strategy.cpp.
void Strategy::publish_strategy | ( | ) |
Definition at line 164 of file strategy.cpp.
void Strategy::reset | ( | ) |
Definition at line 96 of file strategy.cpp.
void Strategy::Seek | ( | ) |
Definition at line 108 of file strategy.cpp.
void Strategy::SetXYChosen | ( | double | xchosen, |
double | ychosen | ||
) |
Definition at line 157 of file strategy.cpp.
void Strategy::Takeoff | ( | ) |
Definition at line 102 of file strategy.cpp.
void Strategy::targetDetectedCb | ( | const ucl_drone::TargetDetected::ConstPtr | targetDetectedPtr | ) | [private] |
Callback when TargetDetected is received.
Definition at line 178 of file strategy.cpp.
void Strategy::targetDetectedFromMasterCb | ( | const ucl_drone::TargetDetected::ConstPtr | targetDetectedPtr | ) | [private] |
Definition at line 189 of file strategy.cpp.
void Strategy::targetDetectedFromSlaveCb | ( | const ucl_drone::TargetDetected::ConstPtr | targetDetectedPtr | ) | [private] |
Definition at line 204 of file strategy.cpp.
Definition at line 96 of file strategy.h.
float Strategy::batteryLeft |
Definition at line 94 of file strategy.h.
bool Strategy::Drone1 |
Definition at line 89 of file strategy.h.
std::string Strategy::drone_name [private] |
Definition at line 31 of file strategy.h.
int Strategy::i [private] |
Definition at line 66 of file strategy.h.
bool Strategy::Intheair |
Definition at line 90 of file strategy.h.
Definition at line 74 of file strategy.h.
ardrone_autonomy::Navdata Strategy::lastNavdataReceived |
Definition at line 99 of file strategy.h.
ucl_drone::Pose3D Strategy::lastPoseReceivedFromSlave |
Definition at line 100 of file strategy.h.
ucl_drone::TargetDetected Strategy::lastTargetDetected [private] |
Definition at line 51 of file strategy.h.
ucl_drone::TargetDetected Strategy::lastTargetDetectedFromMaster [private] |
Definition at line 52 of file strategy.h.
ucl_drone::TargetDetected Strategy::lastTargetDetectedFromSlave [private] |
Definition at line 53 of file strategy.h.
std::string Strategy::multi_strategy_channel [private] |
Definition at line 45 of file strategy.h.
ros::Subscriber Strategy::multi_strategy_sub [private] |
Definition at line 39 of file strategy.h.
std::string Strategy::navdata_channel [private] |
Definition at line 48 of file strategy.h.
ros::Subscriber Strategy::navdata_sub [private] |
Definition at line 40 of file strategy.h.
ros::NodeHandle Strategy::nh [private] |
Definition at line 33 of file strategy.h.
float Strategy::oldbatteryLeft |
Definition at line 95 of file strategy.h.
Definition at line 88 of file strategy.h.
std::string Strategy::pose_from_slave_channel [private] |
Definition at line 49 of file strategy.h.
ros::Subscriber Strategy::pose_from_slave_sub [private] |
Definition at line 41 of file strategy.h.
std::string Strategy::strategy_channel [private] |
Definition at line 43 of file strategy.h.
ros::Publisher Strategy::strategy_pub [private] |
Definition at line 35 of file strategy.h.
Definition at line 91 of file strategy.h.
float Strategy::strategychosen |
Definition at line 87 of file strategy.h.
std::string Strategy::target_channel [private] |
Definition at line 44 of file strategy.h.
std::string Strategy::target_channel_from_master [private] |
Definition at line 46 of file strategy.h.
std::string Strategy::target_channel_from_slave [private] |
Measure.
Definition at line 47 of file strategy.h.
ros::Subscriber Strategy::target_sub [private] |
Definition at line 36 of file strategy.h.
Definition at line 37 of file strategy.h.
Definition at line 38 of file strategy.h.
Definition at line 92 of file strategy.h.
Definition at line 93 of file strategy.h.
float Strategy::xchosen |
Definition at line 97 of file strategy.h.
float Strategy::xDetectedBySlave [private] |
Definition at line 64 of file strategy.h.
float Strategy::ychosen |
Definition at line 98 of file strategy.h.
float Strategy::yDetectedBySlave [private] |
Definition at line 65 of file strategy.h.