Algorithm 1 Object detection algorithm |
Require: d distance between the two sensors,
time of flight from sensor S1,
time of flight from sensor S2 1: /* Convert time of flight from sensors to distances */ 2: 3: 4: /* Combine to calculate object coordinates */ 5: 6: 7: return |