|
SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
|
A class that stores a group of gaits which can finish a small task. More...
Public Member Functions | |
| def | __init__ |
| Constructor. More... | |
| def | RecordCurrentPosition |
| Keep a record of all the joints angles. More... | |
| def | AddGaitToSection |
| Add a gait to current section. More... | |
| def | AddNewChangedModuleToFrame |
| Add a module in the current section module list. More... | |
| def | EmptyTheContainer |
| Clear current section. More... | |
| def | AddGaitToModule |
| Add empty GaitEntry before the given gait to align all the gait that executes at the same time. More... | |
| def | FindLastPisitionOfACondition |
| Find the last appearance of a condition string. More... | |
Public Attributes | |
| FrameID | |
| Section identity string. | |
| GaitEntries | |
| List of the GaitEntry in the current section. | |
| InitialPosition | |
| Liast of inital joint states. | |
| ModulesInThisFrame | |
| List of modules in this section. | |
| GaitStrListOfModule | |
| List of the gait strings in this section. | |
| GaitObjListOfModule | |
| List of GaitEntry object in this section. | |
A class that stores a group of gaits which can finish a small task.
| def Section.Section.__init__ | ( | self, | |
| frame_id | |||
| ) |
Constructor.
| self | Object pointer |
| frame_id | Section identity string |
| def Section.Section.AddGaitToModule | ( | self, | |
| a_gait, | |||
list_idx = -1 |
|||
| ) |
| def Section.Section.AddGaitToSection | ( | self, | |
| a_gait | |||
| ) |
Add a gait to current section.
| self | Object pointer |
| a_gait | A GaitEntry object |
| def Section.Section.AddNewChangedModuleToFrame | ( | self, | |
| a_gait | |||
| ) |
Add a module in the current section module list.
| self | Object pointer |
| a_gait | An GaitEntry object |
| def Section.Section.EmptyTheContainer | ( | self | ) |
Clear current section.
| self | Object pointer |
| def Section.Section.FindLastPisitionOfACondition | ( | self, | |
| a_condition | |||
| ) |
Find the last appearance of a condition string.
| self | Object pointer |
| a_condition | A condition string |
| def Section.Section.RecordCurrentPosition | ( | self, | |
| module_list | |||
| ) |
Keep a record of all the joints angles.
| self | Object pointer |
| module_list | A list of Module object |