예제 #1
0
 def setMouth(self, mo):
     boca = Mouth_msg()
     boca.mouthImage = mo.shape
     self.mouth_pub.publish(boca)
예제 #2
0
 def setMouth(self,mo):
     boca=Mouth_msg()
     boca.mouthImage=mo.shape
     self.mouth_pub.publish(boca)
예제 #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)
예제 #4
0
 def changeMouth(self, idx):
     boca = Mouth_msg()
     boca.mouthImage = self.vMouths[idx].shape
     self.mouth_pub.publish(boca)
예제 #5
0
 def changeMouth(self, idx):
     boca = Mouth_msg()
     boca.mouthImage = self.vMouths[idx].shape
     self.mouth_pub.publish(boca)
예제 #6
0
 def sendMouthPr1(self,mo):
     boca=Mouth_msg()
     boca.mouthImage=mo.shape
     #print mo.shape
     self.mouth_pub.publish(boca)