Skip to content

Commit ab82257

Browse files
Update constraints.py
1 parent f2140a1 commit ab82257

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/compas_fab/robots/constraints.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,10 @@ class JointConstraint(Constraint):
155155
value: float
156156
The targeted value for that joint.
157157
tolerance_above: float
158+
Tolerance above the targeted joint value, in radians. Defaults to 0.
158159
tolerance_below: float
159-
The bound to be achieved is [value - tolerance_below, position + tolerance_above].
160+
Tolerance below the targeted joint value, in radians. Defaults to 0.
161+
The bound to be achieved is [value - tolerance_below, value + tolerance_above].
160162
weight: float, optional
161163
A weighting factor for this constraint. Denotes relative importance to
162164
other constraints. Closer to zero means less important. Defaults to 1.

0 commit comments

Comments
 (0)