54 #ifndef _GAMS_ALGORITHMS_MOVE_H_ 55 #define _GAMS_ALGORITHMS_MOVE_H_ 67 #include "madara/utility/EpochEnforcer.h" 93 const std::vector <pose::Pose> & locations,
96 madara::knowledge::KnowledgeBase * knowledge = 0,
111 void operator= (
const Move & rhs);
117 virtual int analyze (
void);
123 virtual int execute (
void);
129 virtual int plan (
void);
158 madara::utility::EpochEnforcer<std::chrono::steady_clock>
enforcer_;
185 const madara::knowledge::KnowledgeMap & args,
186 madara::knowledge::KnowledgeBase * knowledge,
195 #endif // _GAMS_ALGORITHMS_MOVE_H_ Base class for algorithm factories that classes derived from.
bool waiting_
if true, is in a waiting state on wait_time_
double wait_time_
global wait time for each waypoint
size_t move_index_
current location to move to
std::vector< pose::Pose > poses_
the locations to visit
Copyright (c) 2014 Carnegie Mellon University.
bool finished_moving_
if true, all movements are completed
std::map< std::string, Sensor * > Sensors
a map of sensor names to the sensor information
madara::utility::EpochEnforcer< std::chrono::steady_clock > enforcer_
the timing enforcer
int repeat_
number of times to repeat
Copyright (c) 2014 Carnegie Mellon University.
std::vector< Agent > Agents
An array of agent knowledge.
Copyright (c) 2014 Carnegie Mellon University.
An algorithm for moving to a location.
Contains all GAMS-related tools, classes and code.
A container for self referencing information.
std::string frame_
reference frame for coordinates
A factory class for creating Move algorithms.
The base class that algorithms in GAMS use.
Copyright (c) 2014 Carnegie Mellon University.
int cycles_
tracks the number of cycles completed through locations