implemented pid for shooting with distance sensor