Tracking down /n newline bug

A project log for Pablo

Pablo is an open source social robot.

andrew-smithAndrew Smith 08/18/2014 at 21:550 Comments

I am finding responses hang where more than one type of command is sent to Pablo.

For instance, in the following example when the phrase "red eyes" is heard. Pablo receives the rgb led command and is supposed to speak but instead hangs. This is true for servo commands as well.

<pattern>RED EYES</pattern>
[:rgb220000] I have red eyes.

The next command sent then gets truncated into senseless two-responses-in-one speech.

Investigating if the Emic2 module is receiving the (/n) new line to finalize the command at all or if a delay is needed in between.