synthesizer is speaking. This allows for motions such as moving the mouth, while it is robot’s speaking. Both the and can be used with Frames that contain no ‘Delay’ ‘Speech’ attributes ServoPositions, to allow for delay or speech behavior without servo motion. Here is a modified version of the first example, with some and Frames: extra ‘Delay’ ‘Speech’ <Sequence Name="Example Sequence 2"> <Frame TimeToDestination="1"> <ServoPosition Index="0" Position="800" /> <ServoPosition Index="1" Position="1200" /> </Frame> <Frame Delay="2"/> <Frame Speech="Testing one two three."/> <Frame TimeToDestination="0.5"> <ServoPosition Index="0" Position="2200" /> <ServoPosition Index="1" Position="1000" /> </Frame> </Sequence> This example Sequence contains four frames, but the first and fourth frames are identical to be previous example. When running this Sequence, the first Frame will be processed as before, with Servos 0 and 1 moving to their respective positions. Once this movement completes, the second Frame will be processed and the will cause the Sequence to pause for 2 Delay=“2” attribute seconds. After these 2 seconds, the third Frame will be processed, and the attribute will ‘Speech’ cause the speech synthesizer to start speaking the one two The selected phrase “Testing three.” speech synthesizer runs asynchronously, so as soon as the synthesizer starts speaking, the fourth Frame will be processed. This Frame performs the second servo move, with Servos 0 and 1 moving to their final position. The speech synthesizer will keep talking during this motion and after the Sequence has completed. A Frame can also contain multiple attributes, as in the following example: <Sequence Name="Example Sequence 3"> <Frame TimeToDestination="1" Delay="2" Speech="Hello!"> <ServoPosition Index="0" Position="800" /> <ServoPosition Index="1" Position="1200" /> </Frame> </Sequence>
synthesizer is speaking. This allows for motions such as moving the robot’s mouth, while it is speaking. Both the ‘Delay’ and ‘Speech’ attributes can be used with Frames that contain no ServoPositions, to allow for delay or speech behavior without servo motion. Here is a modified version of the first example, with some extra ‘Delay’ and ‘Speech’ Frames: <Sequence Name="Example Sequence 2"> <Frame TimeToDestination="1"> <ServoPosition Index="0" Position="800" /> <ServoPosition Index="1" Position="1200" /> </Frame> <Frame Delay="2"/> <Frame Speech="Testing one two three."/> <Frame TimeToDestination="0.5"> <ServoPosition Index="0" Position="2200" /> <ServoPosition Index="1" Position="1000" /> </Frame> </Sequence> This example Sequence contains four frames, but the first and fourth frames are identical to be previous example. When running this Sequence, the first Frame will be processed as before, with Servos 0 and 1 moving to their respective positions. Once this movement completes, the second Frame will be processed and the Delay=“2” attribute will cause the Sequence to pause for 2 seconds. After these 2 seconds, the third Frame will be processed, and the ‘Speech’ attribute will cause the speech synthesizer to start speaking the selected phrase “Testing one two three.” The speech synthesizer runs asynchronously, so as soon as the synthesizer starts speaking, the fourth Frame will be processed. This Frame performs the second servo move, with Servos 0 and 1 moving to their final position. The speech synthesizer will keep talking during this motion and after the Sequence has completed. A Frame can also contain multiple attributes, as in the following example: <Sequence Name="Example Sequence 3"> <Frame TimeToDestination="1" Delay="2" Speech="Hello!"> <ServoPosition Index="0" Position="800" /> <ServoPosition Index="1" Position="1200" /> </Frame> </Sequence>
8.%20Countess%20Quanta%20Project%20Report%20Winter%202014.docx