I am building an altitude hold for my R/C airplane. The code should be quite simple. Using the VL53l0x ,I want the servo position to center when the VL53l0x is about 30cm from an object. Move it closer the servo slowly travels one way. Back to 30cm the servo centers again. Move it farther the servo slowly travels the other way.