54 #ifndef _GAMS_ALGORITHMS_AREA_COVERAGE_BASE_AREA_COVERAGE_H_ 55 #define _GAMS_ALGORITHMS_AREA_COVERAGE_BASE_AREA_COVERAGE_H_ 61 #include "madara/utility/Utility.h" 62 #include "madara/utility/EpochEnforcer.h" 68 namespace area_coverage
86 madara::knowledge::KnowledgeBase * knowledge = 0,
91 double e_time = -1.0);
108 virtual int analyze (
void);
114 virtual int execute (
void);
120 virtual int plan (
void);
132 virtual void generate_new_position (
void) = 0;
137 int check_if_finished (
int ret_val)
const;
149 madara::utility::EpochEnforcer<std::chrono::steady_clock>
enforcer_;
155 #endif // _GAMS_ALGORITHMS_AREA_COVERAGE_BASE_AREA_COVERAGE_H_ Copyright (c) 2014 Carnegie Mellon University.
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
madara::utility::EpochEnforcer< std::chrono::steady_clock > enforcer_
enforcer for maximum time
std::vector< Agent > Agents
An array of agent knowledge.
Base class for all area coverages.
Contains all GAMS-related tools, classes and code.
A container for self referencing information.
double max_time_
for keeping track of the time set for maximum coverage time
The base class that algorithms in GAMS use.
utility::GPSPosition next_position_
next position
Copyright (c) 2014 Carnegie Mellon University.
A position in the global positioning system reference frame.
bool initialized_
indicates whether the algorithm is initialized