SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
|
A class used to store the condition information and mangement the work flow. More...
#include <Condition.hh>
Public Member Functions | |
Condition (string condition_ID) | |
Constructor. More... | |
~Condition () | |
Destructor. | |
Public Attributes | |
string | condition_id |
Condition ID. | |
int | total_count |
The total number of gait entries (commands) that has this trigger information. | |
int | finished_count |
The number of commands that has been finished which has this trigger. | |
bool | achieved |
When finished_count euqals to total_count, achieved will be set to True. More... | |
A class used to store the condition information and mangement the work flow.
gazebo::Condition::Condition | ( | string | condition_ID | ) |
Constructor.
condition_ID | The unique condition id |
bool gazebo::Condition::achieved |
When finished_count euqals to total_count, achieved will be set to True.
When this is true, all the commands depend on the accomplishment of this condition will be triggered