Drive
December 10, 2021 ยท View on GitHub
from tdw.robot_data.drive import Drive
Static data for a joint drive.
Fields
-
axisThe axis of rotation. Can be"x","y", or"z". -
limitsTuple: The lower and upper limits of the drive rotation in degrees. -
force_limitThe limit of how much force can be applied to the drive. -
dampingThe damping value. -
stiffnessThe stiffness value.
Functions
__init__
Drive(sr, joint_index, drive_index)
| Parameter | Type | Default | Description |
|---|---|---|---|
| sr | StaticRobot | The StaticRobot output data. | |
| joint_index | int | The index of the joint in the output data that this drive belongs to. | |
| drive_index | int | The index of this drive in the joint data. |