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)
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)
def changeMouth(self, idx): boca = Mouth_msg() boca.mouthImage = self.vMouths[idx].shape self.mouth_pub.publish(boca)
def sendMouthPr1(self,mo): boca=Mouth_msg() boca.mouthImage=mo.shape #print mo.shape self.mouth_pub.publish(boca)