SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Condition.hh
1 #ifndef _GAZEBO_CONDITION_HH_
2 #define _GAZEBO_CONDITION_HH_
3 #include <string>
5 
6 using std::string;
7 
8 namespace gazebo
9 {
11 class Condition
12 {
13  public:
15 
18  Condition(string condition_ID);
20  ~Condition();
21  public:
23  string condition_id;
29 
33  bool achieved;
34 }; // class Condition
35 } // namespace gazebo
36 #endif
Condition(string condition_ID)
Constructor.
Definition: Condition.cc:6
gazebo name space
Definition: system_gui.cc:41
bool achieved
When finished_count euqals to total_count, achieved will be set to True.
Definition: Condition.hh:33
int total_count
The total number of gait entries (commands) that has this trigger information.
Definition: Condition.hh:25
string condition_id
Condition ID.
Definition: Condition.hh:23
A class used to store the condition information and mangement the work flow.
Definition: Condition.hh:11
~Condition()
Destructor.
Definition: Condition.cc:13
int finished_count
The number of commands that has been finished which has this trigger.
Definition: Condition.hh:27