Revision ee1e3286
client/python/hlrc_client/MiddlewareRSB.py | ||
---|---|---|
49 | 49 |
self.EmotionExpression_converter = None |
50 | 50 |
self.HeadAnimation_converter = None |
51 | 51 |
self.BinocularHeadGaze_converter = None |
52 |
self.server = None |
|
53 |
|
|
54 | 52 |
#call mw init |
53 |
self.server = None |
|
55 | 54 |
self.init_middleware() |
56 | 55 |
|
57 | 56 |
def __del__(self): |
... | ... | |
178 | 177 |
if blocking: |
179 | 178 |
# blocking: |
180 | 179 |
result = self.server.gaze(hg) |
181 |
self.logger.info("server reply blocking: '%s'" % result)
|
|
180 |
self.logger.debug("server reply blocking: '%s'" % result)
|
|
182 | 181 |
else: |
183 | 182 |
future = self.server.gaze.async(hg) |
184 |
self.logger.info("server reply non-blocking: '%s'" % future)
|
|
183 |
self.logger.debug("server reply non-blocking: '%s'" % future)
|
|
185 | 184 |
# we can block here for a incoming result with a timeout in s |
186 | 185 |
#print '> server reply: "%s"' % future.get(timeout = 10); |
187 | 186 |
|
Also available in: Unified diff