Revision d076942c client/python/hlrc_client/MiddlewareRSB.py

View differences:

client/python/hlrc_client/MiddlewareRSB.py
168 168
        # create gaze target & fill it with values:
169 169
        hg = BinocularHeadGaze()
170 170

  
171
        t = hg.target.add()
172
        t.elevation = gaze.tilt
173
        t.azimuth = gaze.pan
174

  
171
        hg.target.elevation = gaze.tilt
172
        hg.target.azimuth = gaze.pan
175 173
        hg.eye_vergence = gaze.vergence
176 174

  
177
        o = hg.offset.add()
178
        o.elevation = gaze.tilt_offset
179
        o.azimuth = gaze.pan_offset
175
        hg.offset.elevation = gaze.tilt_offset
176
        hg.offset.azimuth = gaze.pan_offset
180 177

  
181 178
        if blocking:
182 179
            # blocking:

Also available in: Unified diff