Example #1
0
 def setMouth(self, mo):
     boca = Mouth_msg()
     boca.mouthImage = mo.shape
     self.mouth_pub.publish(boca)
 def setMouth(self,mo):
     boca=Mouth_msg()
     boca.mouthImage=mo.shape
     self.mouth_pub.publish(boca)
Example #3
0
 def setMouth(self,mouth):
     boca=Mouth_msg()
     boca.mouthImage=self.vMouths[mouth-1].shape
     self.mouth_pub.publish(boca)
     #self.speakMessage(self.vMouths[mouth-1].name)
     rospy.loginfo("setMouth: "+self.vMouths[mouth-1].name)
Example #4
0
 def changeMouth(self, idx):
     boca = Mouth_msg()
     boca.mouthImage = self.vMouths[idx].shape
     self.mouth_pub.publish(boca)
Example #5
0
 def changeMouth(self, idx):
     boca = Mouth_msg()
     boca.mouthImage = self.vMouths[idx].shape
     self.mouth_pub.publish(boca)
Example #6
0
 def sendMouthPr1(self,mo):
     boca=Mouth_msg()
     boca.mouthImage=mo.shape
     #print mo.shape
     self.mouth_pub.publish(boca)