Skip to content

Commit 67c926a

Browse files
committed
whitespace
1 parent 824f31d commit 67c926a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compas_fab/robots/robot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,9 +1022,9 @@ def constraints_from_frame(self, frame_WCF, tolerance_position, tolerances_axes,
10221022
>>> tolerance_position = 0.001
10231023
>>> tolerances_axes = [math.radians(1)]
10241024
>>> group = robot.main_group_name
1025-
>>> robot.constraints_from_frame(frame, tolerance_position, tolerances_axes, group)
1026-
[PositionConstraint('ee_link', BoundingVolume(2, Sphere(Point(0.400, 0.300, 0.400), 0.001)), 1.0), \
1027-
OrientationConstraint('ee_link', [0.5, 0.5, 0.5, 0.5], [0.017453292519943295, 0.017453292519943295, 0.017453292519943295], 1.0)]
1025+
>>> robot.constraints_from_frame(frame, tolerance_position, tolerances_axes, group) # doctest: +NORMALIZE_WHITESPACE
1026+
[PositionConstraint('ee_link', BoundingVolume(2, Sphere(Point(0.400, 0.300, 0.400), 0.001)), 1.0),
1027+
OrientationConstraint('ee_link', [0.5, 0.5, 0.5, 0.5], [0.017453292519943295, 0.017453292519943295, 0.017453292519943295], 1.0)]
10281028
"""
10291029
pc = self.position_constraint_from_frame(frame_WCF, tolerance_position, group)
10301030
oc = self.orientation_constraint_from_frame(frame_WCF, tolerances_axes, group)

0 commit comments

Comments
 (0)