Skip to content

Commit

Permalink
[pr2eus] Add timestamp to actiongoal topic in play-sound
Browse files Browse the repository at this point in the history
  • Loading branch information
tkmtnt7000 committed Jun 7, 2023
1 parent 8fc634d commit d84d634
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pr2eus/speak.l
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
(when (eq (send ac :get-state) actionlib_msgs::GoalStatus::*active*)
(send ac :cancel-goal)
(send ac :wait-for-result :timeout 10))
(send goal :header :stamp (ros::time-now))
(send goal :goal :sound_request msg)
(setf (gethash topic-name *sound-play-clients*) ac)
(send ac :send-goal goal)
Expand Down

0 comments on commit d84d634

Please sign in to comment.