Welcome, Guest
Username Password: Remember me

Send two different commands to the same motor.
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Send two different commands to the same motor.

Send two different commands to the same motor. 2 years, 10 months ago #215

Hello,
If I send two different commands to the same motor at the same time, how will Reeti handle it?

For example, leftEar = 50.0 at first,
Then I send "Global.servo.leftEar = 20.0 smooth:0.8s, Global.servo.leftEar = 80.0 smooth:0.8s," to Reet.

What will Reeti do?

Re: Send two different commands to the same motor. 2 years, 10 months ago #216

Hello,

The Reeti won't like to have two commands sent exactly at the same time on a motor.
You should always wait for one command to end before sending a new one to the same motor.

Re: Send two different commands to the same motor. 2 years, 10 months ago #217

Thanks for your quick response.

I am using another TTS to generate voice on Reeti, and using urbi to move bottomLip up and down when reeti speaks, at the same time, maybe I need to let reeti to make sequences (ie animations) which may contain bottomLip commands, too.

Do you have any suggestions how I can check whether a command is ended or not?

Re: Send two different commands to the same motor. 2 years, 10 months ago #218

Hi,

I suggest you to have look at our wiki : http://wiki.reeti.fr/ and more precisely the urbi sdk documentation here : http://wiki.reeti.fr/display/REETI/Urbi+sdk to find informations on synchronous and asynchronous urbiscript programming.

Please, for future help request, make them through the help desk : http://helpdesk.reeti.fr/ .

Regards.
  • Page:
  • 1
Time to create page: 0.13 seconds