|
SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
|
A class for adding associates dialog. More...
Public Member Functions | |
| def | __init__ |
| Constructor. More... | |
| def | body |
| Dialog UI boday. More... | |
| def | Add |
| Add button callback, which will create an associate in parent object. More... | |
| def | cancel |
| Cancle adding associate. More... | |
Public Attributes | |
| parent | |
| Inherit from Toplevel object. More... | |
| moduleList | |
| Variable stores the module name list for selecting. | |
| jointSelection | |
| Integer, Joint identity number. | |
| corelation | |
| Integer, correlation type, -1 for negtive, 1 for positive. | |
| ratio | |
| Correlation ratio. | |
| initial_focus | |
| Pointer to the object that needs to be focused initially. | |
| bend_joint | |
| Ratio button for bend joint. | |
| left_joint | |
| Ratio button for left joint. | |
| right_joint | |
| Ratio button for right joint. | |
| front_joint | |
| Ratio button for front joint. | |
| positiveCor | |
| Ratio button for positive correlation. | |
| negativeCor | |
| Ratio button for negative correlation. | |
| correlationRatio | |
| Entry box for correlation. | |
A class for adding associates dialog.
| def GaitRecorder.AddAssociate.__init__ | ( | self, | |
| parent | |||
| ) |
Constructor.
| self | Object pointer |
| parent | Parent widget, which is the python gui window |
| def GaitRecorder.AddAssociate.Add | ( | self | ) |
Add button callback, which will create an associate in parent object.
| self | Object pointer |
| def GaitRecorder.AddAssociate.body | ( | self, | |
| master | |||
| ) |
Dialog UI boday.
| self | Object pointer |
| master | Body's frame object |
| def GaitRecorder.AddAssociate.cancel | ( | self, | |
event = None |
|||
| ) |
Cancle adding associate.
| self | Object pointer |
| event | Event object |
| GaitRecorder.AddAssociate.parent |
Inherit from Toplevel object.
Title object of Toplevel object Parent, which is the class GaitRecorder