Revision 0b6329fb client/python/hlrc_client/MiddlewareRSB.py

View differences:

client/python/hlrc_client/MiddlewareRSB.py
164 164
        rsb_gaze = BinocularHeadGaze()
165 165

  
166 166
        #fill proto
167
        rsb_gaze.target = SphericalDirectionFloat()
168
        rsb_gaze.target.elevation = gaze.tilt
169
        rsb_gaze.target.azimuth = gaze.pan
167
        t = SphericalDirectionFloat()
168
        t.elevation = gaze.tilt
169
        t.azimuth = gaze.pan
170
        rsb_gaze.target = t
170 171

  
171
        rsb_gaze.vergence = gaze.vergence
172
        rsb_gaze.eye_vergence = gaze.vergence
172 173

  
173
        rsb_gaze.offset = SphericalDirectionFloat()
174
        rsb_gaze.offset.elevation = gaze.tilt_offset
175
        rsb_gaze.offset.azimuth = gaze.pan_offset
174
        o = SphericalDirectionFloat()
175
        o.elevation = gaze.tilt_offset
176
        o.azimuth = gaze.pan_offset
177

  
178
        rsb_gaze.offset = o
176 179

  
177 180
        if (blocking):
178 181
            # blocking:

Also available in: Unified diff