random walk implemented in moving_sensor.py