

def get_range(self):
    vel = (100 + (5 * randn()))
    alt = (1000 + (10 * randn()))
    self.x += (vel * self.dt)
    v = ((self.x * 0.05) * randn())
    rng = ((((self.x ** 2) + (alt ** 2)) ** 0.5) + v)
    return rng

dataset/ETHPy150Open rlabbe/filterpy/filterpy/kalman/tests/test_ukf.py RadarSim.get_range/original