Skip to content

Commit

Permalink
not
Browse files Browse the repository at this point in the history
  • Loading branch information
yck011522 committed Jun 14, 2024
1 parent 92a21cd commit 4a109c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compas_fab/robots/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ def plan_cartesian_motion(self, waypoints, start_configuration=None, group=None,
# =======
# Scaling
# =======
need_scaling = TOL.is_close(self.scale_factor, 1.0, rtol=1e-8)
need_scaling = not TOL.is_close(self.scale_factor, 1.0, rtol=1e-8)

if need_scaling:
waypoints = waypoints.scaled(1.0 / self.scale_factor)
Expand Down

0 comments on commit 4a109c9

Please sign in to comment.