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
Returns last LaserData. 

        @return last JdeRobotTypes LaserData saved