The class that stores a gait command.
More...
The class that stores a gait command.
def GaitEntry.GaitEntry.__init__ |
( |
|
self, |
|
|
|
module_id, |
|
|
|
jointangles, |
|
|
|
timer, |
|
|
|
dependency = "" , |
|
|
|
condition = "" , |
|
|
|
special = False , |
|
|
|
flags = [0 , |
|
|
|
extra_info = "" |
|
) |
| |
Constructor.
- Parameters
-
self | Object pointer |
module_id | String of module name |
jointangles | List of joint angles |
timer | Timer for time based gait |
dependency | Gait trigger condition string |
condition | Condition string that triggers other commands |
special | Whether this is a special command |
flags | Joint setting flags: 0 for position, 1 for speed, 2 for torque, 3 for ignore, 4 for connection, 5 for disconnection |
def GaitEntry.GaitEntry.AddExtraInfo |
( |
|
self, |
|
|
|
info_str |
|
) |
| |
Add extra information to this gait.
- Parameters
-
self | Object pointer |
info_str | String as the extra information |
def GaitEntry.GaitEntry.GaitToStr |
( |
|
self | ) |
|
Current gait to gait string.
- Parameters
-
The documentation for this class was generated from the following file:
- GaitRecorder/pythonGUI/GaitEntry.py