Returns last LaserData. 

        @return last JdeRobotTypes LaserData saved

def getSonarData(self):
        '''
        Returns last LaserData. 

        @return last JdeRobotTypes LaserData saved

        '''     
        if self.hasproxy():
            self.lock.acquire()
            sonar = self.sonar
            self.lock.release()
            return sonar

        return None