luxai-qtrobot / QA

Virtual repository for Questions & Answers system
http://luxai-qtrobot.github.io
5 stars 0 forks source link

Clear the behavior or speech queue from QT #41

Open kilmhd opened 3 years ago

kilmhd commented 3 years ago

Hello,

I am currently working with QT and in particular the BEHAVIOR & SPEECH services. I would like to know if it is possible to empty/clear the message queue sent to QT. So that later we send him other information to say and avoid waiting for QT to say everything he has to say.

codionysus commented 3 years ago

Hi @kilmhd, do you have problems with the queuing? There are two options how to call QTrobot speech interface, you can use ROS service call which will wait for the command to execute or use Publish/subscribe method.