Skip to content

Commit

Permalink
:wait-interpolation-smooth returns results of :interpolatingp of cont…
Browse files Browse the repository at this point in the history
…rollers on real robot
  • Loading branch information
pazeshun committed Jul 14, 2018
1 parent edd43fc commit c21f49a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pr2eus/robot-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,8 @@ Return value is a list of interpolatingp for all controllers, so (null (some #'i
(send self :spin-once) ;; need to wait for feedback
(send self :ros-wait 0.005))))
(while (null (send self :interpolating-smoothp time-to-finish ctype))
(send self :ros-wait 0.005)))
(send self :ros-wait 0.005))
(send-all controller-actions :interpolatingp))
(:interpolating-smoothp (time-to-finish &optional (ctype)) ;; controller-type
"Check if the last sent motion will stop for next time-to-finish [msec]"
(when (send self :simulation-modep)
Expand Down

0 comments on commit c21f49a

Please sign in to comment.