Skip to content

novaphy.UrdfJoint

URDF <joint> description. Connects a parent_link to a child_link with a single-DOF mechanism (revolute / prismatic / continuous / fixed) plus limits and friction / damping coefficients.

Attributes

Attribute Description
name Joint name.
type URDF joint type string: "revolute", "continuous", "prismatic", "fixed", "floating", or "planar".
parent_link Parent link name.
child_link Child link name.
origin Transform from the parent link to the joint frame.
axis Joint axis expressed in the joint frame (3-vector).
lower_limit Lower position limit [rad] (revolute) or [m] (prismatic).
upper_limit Upper position limit [rad] / [m].
effort_limit Maximum joint effort [N ยท m] / [N].
velocity_limit Maximum joint velocity [rad/s] / [m/s].
damping Linear viscous damping coefficient.
friction Static joint friction coefficient.

Example

import numpy as np
import novaphy

joint = novaphy.UrdfJoint()
joint.name = "shoulder_pan"
joint.type = "revolute"
joint.parent_link = "base_link"
joint.child_link = "shoulder"
joint.axis = np.array([0.0, 0.0, 1.0], dtype=np.float32)
joint.lower_limit, joint.upper_limit = -3.14, 3.14
joint.effort_limit = 87.0
joint.velocity_limit = 2.16

See Also