Esempio n. 1
0
 def onRun( self ):
     Utils.enableBodyStiffness();
     Utils.getInstance().setBodyPose( 'headInitial' );
     Utils.disableBodyStiffness();
     
     # Sleep if paused.
     while( self.isPaused() ):
         rospy.sleep( self.SLEEP_TIME );
             
     # Say the message.
     Utils.getInstance().say( 'Introduction.' );
     
     rospy.sleep( 3 * self.SLEEP_TIME );
     
     self.finished.emit();