code: 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 Nonf 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
docs: Returns last LaserData. 
  
          @return last JdeRobotTypes LaserData saved