Revision c00b9328

View differences:

client/python/hlrc_client/MiddlewareRSB.py
106 106
                #if (em_type == EmotionExpression.TYPE_DEFAULT):
107 107
                #    result = server.defaultEmotion(rsb_em)
108 108
                #else:
109
                result = server.currentEmotion(rsb_em)
109
                result = server.emotion(rsb_em)
110 110
                self.logger.debug("server reply: '%s'" % result)
111 111
            else:
112 112
                #if (em_type == EmotionExpression.TYPE_DEFAULT):
113 113
                #    future = server.defaultEmotion.async(rsb_em)
114 114
                #else:
115
                future = server.currentEmotion.async(rsb_em)
115
                future = server.emotion.async(rsb_em)
116 116
                self.logger.debug("server reply: '%s'" % future)
117 117
                #we could block here for a incoming result with a timeout in s
118 118
                #print '> server reply: "%s"' % future.get(timeout = 10);
......
137 137

  
138 138
        if blocking:
139 139
            #blocking:
140
            result = self.server.HeadAnimation(rsb_ani)
140
            result = self.server.animation(rsb_ani)
141 141
            self.logger.debug("server reply: '%s'" % result)
142 142
        else:
143
            future = self.server.HeadAnimation.async(rsb_ani)
143
            future = self.server.animation.async(rsb_ani)
144 144
            #we can block here for a incoming result with a timeout in s
145 145
            #print '> server reply: "%s"' % future.get(timeout = 10);
146 146

  
......
186 186
        :param text: text to synthesize and speak
187 187
        :param blocking: True if this call should block until execution finished on robot
188 188
        """
189
        """
189 190
        self.logger.debug("calling the speech rpc (%s)..." % ("BLOCKING" if blocking else "NON-BLOCKING"))
190 191

  
191 192
        if (blocking):
......
198 199
            #print '> server reply: "%s"' % future.get(timeout = 10);
199 200

  
200 201
        self.logger.debug("speech rpc done")
202
        """
203
        print "WARNING: Not IMPLEMENTED."
201 204

  
202 205

  
203 206
    #######################################################################

Also available in: Unified diff