Revision b63a3013 client/python/hlrc_client/MiddlewareRSB.py
client/python/hlrc_client/MiddlewareRSB.py | ||
---|---|---|
163 | 163 |
rsb_gaze = BinocularHeadGaze() |
164 | 164 |
|
165 | 165 |
#fill proto |
166 |
rsb_gaze.target = SphericalDirectionFloat() |
|
167 |
rsb_gaze.target.elevation = gaze.tilt |
|
168 |
rsb_gaze.target.azimuth = gaze.pan |
|
166 |
rsb_gaze.target = SphericalDirectionFloat()
|
|
167 |
rsb_gaze.target.elevation = gaze.tilt
|
|
168 |
rsb_gaze.target.azimuth = gaze.pan
|
|
169 | 169 |
|
170 | 170 |
rsb_gaze.vergence = gaze.vergence |
171 | 171 |
|
172 | 172 |
|
173 |
rsb_gaze.offset = SphericalDirectionFloat() |
|
174 |
rsb_gaze.offset.elevation = gaze.tilt_offset |
|
175 |
rsb_gaze.offset.azimuth = gaze.pan_offset |
|
173 |
rsb_gaze.offset = SphericalDirectionFloat()
|
|
174 |
rsb_gaze.offset.elevation = gaze.tilt_offset
|
|
175 |
rsb_gaze.offset.azimuth = gaze.pan_offset
|
|
176 | 176 |
|
177 | 177 |
if (blocking): |
178 | 178 |
#blocking: |
... | ... | |
185 | 185 |
|
186 | 186 |
self.logger.debug("gaze rpc done") |
187 | 187 |
|
188 |
""" |
|
188 |
"""
|
|
189 | 189 |
def publish_mouth_target(self, mouth, blocking): |
190 | 190 |
publish a mouth target via mw |
191 | 191 |
:param mouth: mouth value to set |
... | ... | |
214 | 214 |
#print '> server reply: "%s"' % future.get(timeout = 10); |
215 | 215 |
|
216 | 216 |
self.logger.debug("mouth rpc done") |
217 |
""" |
|
217 |
"""
|
|
218 | 218 |
|
219 | 219 |
def publish_speech(self, text, blocking): |
220 | 220 |
"""publish a tts request via mw |
Also available in: Unified diff