1

I have a virtual robot running and I want to send a voice input to them with text, like the way that the dialog window in Choregraphe works. How can I do this using a Python script?

I am running the virtual robot from the terminal using the naoqi-bin application on Ubuntu with something like naoqi-bin -b 127.0.0.1 -p 9001

Thanks.

1 Answers1

2

You can call ALDialog.forceInput; something like this:

qiapp = qi.Application()
qiapp.start()
session = qiapp.session
session.service("ALDialog").forceInput("hey virtual nao how are you doing?")
Emile
  • 2,946
  • 2
  • 19
  • 22