class_docstr: Simulates the radar signal returns from an object flying
  at a constant altityude and velocity in 1D. Assumes random
  process noise - altitude and velocity varies a bit for each call.
class_docstr_tok: ["Simulates","the","radar","signal","returns","from","an","object","flying","at","a","constant","altityude","and","velocity","in","1D",".","Assumes","random","process","noise","-","altitude","and","velocity","varies","a","bit","for","each","call","."]
docstr: Returns slant range to the object. Call once for each
  new measurement at dt time from last call.
docstr_tok: ["Returns","slant","range","to","the","object",".","Call","once","for","each","new","measurement","at","dt","time","from","last","call","."]
code: def get_range(self, process_err_pct=0.05):
      """
      Returns slant range to the object. Call once for each
      new measurement at dt time from last call.
      """
  
      vel = self.vel + 5 * randn()
      alt = self.alt + 10 * randn()
  
      self.pos += vel * self.dt
  
      err = (self.pos * process_err_pct) * randn()
      slant_range = (self.pos**2 + alt**2) ** 0.5 + err
  
      return slant_range
  
imports: from numpy.random import randn
label_desc: Use image node_id 2 for calling the RadarSim obj's underlying member method code with example usage: obj.get_range(process_err_pct) and returns: slant_range