Revision 465c7ad7 client/python/hlrc_client/Middleware.py

View differences:

client/python/hlrc_client/Middleware.py
85 85
    def publish_gaze_target(self, gaze, blocking):
86 86
        self.die_virtual(sys._getframe().f_code.co_name)
87 87

  
88
    def publish_lookat_target(self, x, y, z, blocking, frame_id, roll):
89
        self.die_virtual(sys._getframe().f_code.co_name)
90

  
88 91
    def publish_mouth_target(self, mouth, blocking):
89 92
        self.die_virtual(sys._getframe().f_code.co_name)
90 93

  
......
143 146
        self.gaze_target = gaze
144 147
        self.publish_gaze_target(gaze, blocking)
145 148

  
149
    def set_lookat_target(self, x, y, z, blocking=False, frame_id='', roll=0.0):
150
        """set a gaze at a Cartesian position
151
        :param x,y,z: position to look at (in eyes frame or frame_id)
152
        :param roll: side-ways motion of head
153
        :param blocking: True if this call should block until execution finished on robot
154
        """
155
        self.publish_lookat_target(x, y, z, blocking, frame_id, roll)
156

  
146 157
    #######################################################################
147 158
    #some get methods
148 159
    #def get_current_emotion(self):

Also available in: Unified diff