Skip to content

Commit

Permalink
Merge pull request #415 from knorth55/add-gain-key
Browse files Browse the repository at this point in the history
[pr2eus] add gain key in :stop-grasp
  • Loading branch information
k-okada authored Dec 16, 2019
2 parents bb7f201 + 934e8e9 commit 6ca4441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pr2eus/pr2-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,9 @@ Example: (send self :gripper :rarm :position) => 0.00"
))

(:stop-grasp
(&optional (arm :arms) &key (wait nil))
(&optional (arm :arms) &key ((:gain g) 0.03) (wait nil))
(prog1
(send self :move-gripper arm 0.09 :wait wait)
(send self :move-gripper arm 0.09 :effort (* 2000 g) :wait wait)
(unless joint-action-enable
(dolist (a (if (eq arm :arms) '(:larm :rarm) (list arm)))
(dolist (obj (send robot a :end-coords :descendants))
Expand Down

0 comments on commit 6ca4441

Please sign in to comment.