Skip to content

Commit c08854d

Browse files
Update moveit_msgs.py
1 parent 7df15c8 commit c08854d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas_fab/backends/ros/messages/moveit_msgs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def from_joint_constraint(cls, joint_constraint):
270270
"""Creates a `JointConstraint` from a :class:`compas_fab.robots.JointConstraint`.
271271
"""
272272
c = joint_constraint
273-
return cls(c.joint_name, c.value, c.tolerance, c.tolerance, c.weight)
273+
return cls(c.joint_name, c.value, c.tolerance_above, c.tolerance_below, c.weight)
274274

275275

276276
class VisibilityConstraint(ROSmsg):

0 commit comments

Comments
 (0)