def getImage(self):
        '''
        Returns last Image. 

        @return last JdeRobotTypes Image saved

        '''
        img = Image()      
        if self.hasproxy():
            self.lock.acquire()
            img = self.image
            self.lock.release()
        return img
def getImage ( self ) : img = Image ( ) if self . hasproxy ( ) : self . lock . acquire ( ) img = self . image self . lock . release ( ) return img
Returns last Image. 

        @return last JdeRobotTypes Image saved