Skip to content

Commit

Permalink
Merge pull request #445 from pazeshun/wait-interpolation-timeout-doc
Browse files Browse the repository at this point in the history
[pr2eus] Fix doc about timeout of :wait-interpolation
  • Loading branch information
k-okada authored Jul 21, 2021
2 parents 7de0e08 + 78b2779 commit df0fc28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pr2eus/robot-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,8 @@
)))
(:wait-interpolation (&optional (ctype) (timeout 0)) ;; controller-type
"Wait until last sent motion is finished
- ctype : controller to be wait
- timeout : max time of for waiting
- ctype : controller to be waited
- timeout : max time to wait for each controller (so (send *ri* :wait-interpolation nil 0.1) with real PR2 takes up to 0.4 sec because four controllers are registered)
- return values is a list of interpolatingp for all controllers, so (null (some #'identity (send *ri* :wait-interpolation))) -> t if all interpolation has stopped"
(if (send self :simulation-modep)
(while (send self :interpolatingp)
Expand Down

0 comments on commit df0fc28

Please sign in to comment.