uav_optimal_coverage.h
Go to the documentation of this file.
1 #ifndef UAV_OPTIMAL_COVERAGE_H
2 #define UAV_OPTIMAL_COVERAGE_H
3 
4 #include <geometry_msgs/Pose.h>
5 #include <cpswarm_msgs/GetWaypoint.h>
6 #include <position.h>
7 #include <velocity.h>
8 
9 using namespace std;
10 using namespace ros;
11 
15 typedef enum {
20 
25 {
26 public:
31 
36 
41  behavior_state_t step ();
42 
46  void stop ();
47 
48 private:
52  ServiceClient wp_getter;
53 
57  geometry_msgs::Point waypoint;
58 
62  cpswarm_msgs::GetWaypoint get_wp;
63 
68 
72  position pos;
73 
77  velocity vel;
78 
83 
87  double tolerance;
88 
89 };
90 
91 #endif // UAV_OPTIMAL_COVERAGE_H
92 
geometry_msgs::Point waypoint
Current waypoint to navigate to.
double target_velocity
Target velocity of the UAV.
velocity vel
A helper object for velocity related tasks.
ServiceClient wp_getter
Service client to get the current waypoint to navigate to.
behavior_state_t state
The state of the behavior algorithm.
cpswarm_msgs::GetWaypoint get_wp
Service message to get the current waypoint.
behavior_state_t
An enumeration for the state of the behavior algorithm.
A class that allows to cover a given area optimally with a swarm of cyber physical systems (CPSs)...
position pos
A helper object for position related tasks.


uav_optimal_coverage
Author(s): Micha Sende
autogenerated on Sun Dec 29 2019 10:25:49