v12.joint.Joint

Warning

This class is autogenerated. More detailed documentation can be found in the SDFormat spec.

class v12.joint.Joint(parent='__default__', child='__default__', pose='0 0 0 0 0 0', thread_pitch=1.0, axis=None, axis2=None, physics=None, name=None, type=None)

A joint connections two links with kinematic and dynamic properties.

Parameters
parent: Name of the parent link
child: Name of the child link
pose: offset from child link origin in child link frame.
thread_pitch:
axis: The joint axis specified in the model frame. This is the axis

of rotation for revolute joints, the axis of translation for prismatic joints. The axis is currently specified in the model frame of reference, but this will be changed to the joint frame in future version of SDFormat (see gazebo issue #494).

axis2: The second joint axis specified in the model frame. This is

the second axis of rotation for revolute2 joints and universal joints. The axis is currently specified in the model frame of reference, but this will be changed to the joint frame in future version of SDFormat (see gazebo issue #494).

physics: Parameters that are specific to a certain physics engine.
name: A unique name for the joint within the scope of the model.
type: The type of joint, which must be one of the following:

(revolute) a hinge joint that rotates on a single axis with either a fixed or continuous range of motion, (revolute2) same as two revolute joints connected in series, (prismatic) a sliding joint that slides along an axis with a limited range specified by upper and lower limits, (ball) a ball and socket joint, (universal), like a ball joint, but constrains one degree of freedom, (piston) similar to a Slider joint except that rotation around the translation axis is possible.

Nested Elements

Note that only complex elements are listed here. Elements that resolve to simple types (int, str, bool) are inlined.

v12.joint.Joint.Axis([xyz, dynamics, limit])

The joint axis specified in the model frame.

v12.joint.Joint.Axis2([xyz, dynamics, limit])

The second joint axis specified in the model frame.

v12.joint.Joint.Physics([ode])

Parameters that are specific to a certain physics engine.