Skip to content

Commit 787073f

Browse files
committed
constraints_from_configuration test bug fix
1 parent 701b379 commit 787073f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/compas_fab/robots/robot.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -977,12 +977,12 @@ def constraints_from_configuration(self, configuration, tolerances_above, tolera
977977
>>> tolerances_below = [math.radians(1)] * 6
978978
>>> group = robot.main_group_name
979979
>>> robot.constraints_from_configuration(configuration, tolerances_above, tolerances_below, group)
980-
[JointConstraint('shoulder_pan_joint', -0.042, 0.0174532925199, 0.0174532925199, 1.0), \
981-
JointConstraint('shoulder_lift_joint', 4.295, 0.0174532925199, 0.0174532925199, 1.0), \
982-
JointConstraint('elbow_joint', -4.11, 0.0174532925199, 0.0174532925199, 1.0), \
983-
JointConstraint('wrist_1_joint', -3.327, 0.0174532925199, 0.0174532925199, 1.0), \
984-
JointConstraint('wrist_2_joint', 4.755, 0.0174532925199, 0.0174532925199, 1.0), \
985-
JointConstraint('wrist_3_joint', 0.0, 0.0174532925199, 0.0174532925199, 1.0)]
980+
[JointConstraint('shoulder_pan_joint', -0.042, 0.017453292519943295, 0.017453292519943295, 1.0), \
981+
JointConstraint('shoulder_lift_joint', 4.295, 0.017453292519943295, 0.017453292519943295, 1.0), \
982+
JointConstraint('elbow_joint', -4.11, 0.017453292519943295, 0.017453292519943295, 1.0), \
983+
JointConstraint('wrist_1_joint', -3.327, 0.017453292519943295, 0.017453292519943295, 1.0), \
984+
JointConstraint('wrist_2_joint', 4.755, 0.017453292519943295, 0.017453292519943295, 1.0), \
985+
JointConstraint('wrist_3_joint', 0.0, 0.017453292519943295, 0.017453292519943295, 1.0)]
986986
987987
Raises
988988
------

0 commit comments

Comments
 (0)