This is the class that stores all the information about a module.
More...
This is the class that stores all the information about a module.
def Module.Module.__init__ |
( |
|
self, |
|
|
|
modelname, |
|
|
|
position, |
|
|
|
jointangle, |
|
|
|
path, |
|
|
|
quapos = False |
|
) |
| |
Constructor.
- Parameters
-
self | Object pointer |
modelname | Model name string |
position | Tuple of the initial position of the module |
jointangle | List of the joint angles of the module |
path | Path of the model sdf file Whether the orientation of the module stored in quaternion True: stored in quaternion; False: stored in Eular angles; Default: False |
def Module.Module.__init__ |
( |
|
self, |
|
|
|
modelname, |
|
|
|
jointangle, |
|
|
|
position |
|
) |
| |
Constructor.
- Parameters
-
self | Object pointer |
modelname | Model name string |
jointangle | List of the joint angles of the module |
position | Tuple of the initial position of the module |
def Module.Module.connection |
( |
|
self, |
|
|
|
node, |
|
|
|
connection |
|
) |
| |
Connect on one node.
- Parameters
-
self | Object pointer |
node | A node index |
connection | A Connection object |
def Module.Module.connection |
( |
|
self, |
|
|
|
node, |
|
|
|
connection |
|
) |
| |
Connect on one node.
- Parameters
-
self | Object pointer |
node | A node index |
connection | A Connection object |
def Module.Module.disconnect |
( |
|
self, |
|
|
|
node |
|
) |
| |
Disconnect on one node.
- Parameters
-
self | Object pointer |
node | A node index |
def Module.Module.disconnect |
( |
|
self, |
|
|
|
node |
|
) |
| |
Disconnect on one node.
- Parameters
-
self | Object pointer |
node | A node index |
The documentation for this class was generated from the following file:
- ConfigGenerator/pythonGUI/Module.py