Implements a serpentine pattern-based area coverage that is minimum time but easy to predict(adversarially)
More...
#include <SnakeAreaCoverage.h>
Implements a serpentine pattern-based area coverage that is minimum time but easy to predict(adversarially)
Definition at line 78 of file SnakeAreaCoverage.h.
◆ SnakeAreaCoverage()
Constructor.
- Parameters
-
region_id | id of region to be covered |
e_time | time to execute algorithm |
knowledge | the context containing variables and values |
platform | the underlying platform the algorithm will use |
sensors | map of sensor names to sensor information |
self | self-referencing variables |
agents | variables referencing agents |
◆ ~SnakeAreaCoverage()
gams::algorithms::area_coverage::SnakeAreaCoverage::~SnakeAreaCoverage |
( |
| ) |
|
◆ analyze()
virtual int gams::algorithms::area_coverage::BaseAreaCoverage::analyze |
( |
void |
| ) |
|
|
virtualinherited |
◆ check_if_finished()
int gams::algorithms::area_coverage::BaseAreaCoverage::check_if_finished |
( |
int |
ret_val | ) |
const |
|
protectedinherited |
Check if finished based on time.
◆ compute_waypoints()
void gams::algorithms::area_coverage::SnakeAreaCoverage::compute_waypoints |
( |
const std::string & |
region_id | ) |
|
|
protected |
◆ execute()
virtual int gams::algorithms::area_coverage::BaseAreaCoverage::execute |
( |
void |
| ) |
|
|
virtualinherited |
◆ generate_new_position()
void gams::algorithms::area_coverage::SnakeAreaCoverage::generate_new_position |
( |
void |
| ) |
|
|
protectedvirtual |
◆ get_agents()
◆ get_algorithm_status()
Gets algorithm status variables.
◆ get_knowledge_base()
madara::knowledge::KnowledgeBase* gams::algorithms::BaseAlgorithm::get_knowledge_base |
( |
void |
| ) |
|
|
inherited |
◆ get_next_position()
utility::GPSPosition gams::algorithms::area_coverage::BaseAreaCoverage::get_next_position |
( |
void |
| ) |
const |
|
inherited |
Get next position.
- Returns
- next_position_ member
◆ get_platform()
◆ get_self()
Gets self-defined variables.
◆ get_sensors()
Gets the available sensor information.
◆ operator=()
void gams::algorithms::area_coverage::SnakeAreaCoverage::operator= |
( |
const SnakeAreaCoverage & |
rhs | ) |
|
Assignment operator.
- Parameters
-
◆ plan()
virtual int gams::algorithms::area_coverage::BaseAreaCoverage::plan |
( |
void |
| ) |
|
|
virtualinherited |
◆ set_agents()
virtual void gams::algorithms::BaseAlgorithm::set_agents |
( |
variables::Agents * |
agents | ) |
|
|
virtualinherited |
Sets the list of agents in the swarm.
- Parameters
-
◆ set_platform()
Sets the platform.
- Parameters
-
platform | the underlying platform the algorithm will use |
◆ set_self()
virtual void gams::algorithms::BaseAlgorithm::set_self |
( |
variables::Self * |
self | ) |
|
|
virtualinherited |
Sets the map of sensor names to sensor information.
- Parameters
-
self | pointer to self-referencing variables container |
◆ set_sensors()
Sets the map of sensor names to sensor information.
- Parameters
-
sensors | map of sensor names to sensor information |
◆ agents_
the list of agents potentially participating in the algorithm
Definition at line 201 of file BaseAlgorithm.h.
◆ cur_waypoint_
unsigned int gams::algorithms::area_coverage::SnakeAreaCoverage::cur_waypoint_ |
|
protected |
◆ enforcer_
madara::utility::EpochEnforcer<std::chrono::steady_clock> gams::algorithms::area_coverage::BaseAreaCoverage::enforcer_ |
|
protectedinherited |
◆ executions_
unsigned int gams::algorithms::BaseAlgorithm::executions_ |
|
protectedinherited |
◆ initialized_
bool gams::algorithms::area_coverage::BaseAreaCoverage::initialized_ |
|
protectedinherited |
◆ knowledge_
madara::knowledge::KnowledgeBase* gams::algorithms::BaseAlgorithm::knowledge_ |
|
protectedinherited |
◆ max_time_
double gams::algorithms::area_coverage::BaseAreaCoverage::max_time_ |
|
protectedinherited |
for keeping track of the time set for maximum coverage time
Definition at line 146 of file BaseAreaCoverage.h.
◆ next_position_
◆ platform_
◆ region_id_
std::string gams::algorithms::area_coverage::SnakeAreaCoverage::region_id_ |
|
protected |
◆ self_
◆ sensors_
◆ status_
provides access to status information for this platform
Definition at line 219 of file BaseAlgorithm.h.
◆ waypoints_
The documentation for this class was generated from the following file: