distance finding

calculating distance between object and sensor
 GitHub

Field 1 Chart
Field 2 Chart
Field 3 Chart
Field 4 Chart