OdeJoint¶
from acron.ode import OdeJoint
- class OdeJoint¶
Bases:
Bases:
TypedObjectInheritance diagram
digraph inheritance9f1867df3d { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "OdeJoint" [URL="acron.ode.OdeJoint.html#acron.ode.OdeJoint",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "OdeJoint" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; }-
enum JointType¶
/* or “unknown” */
-
enumerator JT_ball = 1¶
-
enumerator JT_hinge = 2¶
-
enumerator JT_slider = 3¶
-
enumerator JT_contact = 4¶
-
enumerator JT_universal = 5¶
-
enumerator JT_hinge2 = 6¶
-
enumerator JT_fixed = 7¶
-
enumerator JT_null = 8¶
-
enumerator JT_a_motor = 9¶
-
enumerator JT_l_motor = 10¶
-
enumerator JT_plane2d = 11¶
-
enumerator JT_ball = 1¶
- __eq__()¶
- attach()¶
- attach_bodies()¶
Attaches two
OdeBodyobjects to this joint. Order is important. Consider using theOdeJoint.attachextension function if you’re using the Python interface.
- attach_body()¶
Attaches a single
OdeBodyto this joint at the specified index (0 or 1). The other index will be set to the environment (null). Consider using theOdeJoint.attachextension function if you’re using the Python interface.
- compare_to()¶
- convert()¶
- convert_to_a_motor()¶
- convert_to_ball()¶
- convert_to_contact()¶
- convert_to_fixed()¶
- convert_to_hinge()¶
- convert_to_hinge2()¶
- convert_to_l_motor()¶
- convert_to_null()¶
- convert_to_plane2d()¶
- convert_to_slider()¶
- convert_to_universal()¶
- destroy()¶
- detach()¶
- get_body()¶
- static get_class_type()¶
- get_feedback()¶
- get_id()¶
Returns the underlying dJointID.
- is_empty()¶
Returns true if the ID is 0, meaning the
OdeJointdoes not point to a valid joint. It is an error to call a method on an empty joint. Note that an emptyOdeJointalso evaluates to False.
- set_feedback()¶
- write()¶
-
enum JointType¶