Skip to content

Commit

Permalink
more comment clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeits committed May 30, 2016
1 parent e2b986c commit 1c9a6a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drake/bindings/python/pydrake/test/testPR2IK.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
# frame must all be at z = 0 in world frame.
# We don't care about the x or y position of the robot's base,
# so we use NaN values to tell the IK solver not to apply a
# constraint along those dimensions.
# constraint along those dimensions. This is equivalent to
# placing a lower bound of -Inf and an upper bound of +Inf along
# those axes.
ik.WorldPositionConstraint(robot, base_body_id,
np.array([0.0, 0.0, 0.0]),
np.array([np.nan, np.nan, 0.0]),
Expand Down

0 comments on commit 1c9a6a9

Please sign in to comment.