Skip to content

Commit

Permalink
google_chat_ros: enable to return message result
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Oct 26, 2023
1 parent 647d41e commit e9a4904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google_chat_ros/scripts/google-chat.l
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
(send goal :goal :text content)
(send ac :send-goal goal)
(if wait
(return-from send-google-chat-text (send ac :wait-for-result :timeout 5))
(return-from send-google-chat-text (if (send ac :wait-for-result :timeout 5) (send ac :get-result) nil))
(return-from send-google-chat-text t))))))

(defun send-google-chat-image
Expand Down

0 comments on commit e9a4904

Please sign in to comment.