55 #ifndef _GAMS_ALGORITHMS_AREA_COVERAGE_WAYPOINTS_COVERAGE_H_
56 #define _GAMS_ALGORITHMS_AREA_COVERAGE_WAYPOINTS_COVERAGE_H_
73 namespace area_coverage
91 const std::vector<utility::Position>& waypoints,
92 madara::knowledge::KnowledgeBase * knowledge = 0,
149 const madara::knowledge::KnowledgeMap & args,
150 madara::knowledge::KnowledgeBase * knowledge,
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Copyright(c) 2014 Carnegie Mellon University.
Base class for algorithm factories that classes derived from.
The base class that algorithms in GAMS use.
Base class for all area coverages.
A factory class for creating waypoints area coverage algorithms.
virtual BaseAlgorithm * create(const madara::knowledge::KnowledgeMap &args, madara::knowledge::KnowledgeBase *knowledge, platforms::BasePlatform *platform, variables::Sensors *sensors, variables::Self *self, variables::Agents *agents)
Creates a snake area coverage algorithm.
Waypoints algorithm that also tracks coverage metrics.
virtual ~WaypointsCoverage()
Destructor.
virtual int analyze(void)
Analyzes environment, platform, or other information.
std::vector< utility::Position > waypoints_
waypoints
void operator=(const WaypointsCoverage &rhs)
Assignment operator.
void generate_new_position(void)
Generate new next position.
WaypointsCoverage(const std::vector< utility::Position > &waypoints, madara::knowledge::KnowledgeBase *knowledge=0, platforms::BasePlatform *platform=0, variables::Sensors *sensors=0, variables::Self *self=0, variables::Agents *agents=0)
Constructor.
size_t cur_waypoint_
current waypoint
A container for self referencing information.
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
std::vector< Agent > Agents
An array of agent knowledge.
Contains all GAMS-related tools, classes and code.