Now that we have a clean & filtered stream of inputs from the
sensor setup, we can now focus on realizing the actual object
detection using these sensors. We had two options while going
further: either build four independent input – output systems
corresponding to the four sensors or couple the pitch and the
roll sensors and setup two paired systems. By testing both of
the systems individually, we realized that paired pitch and roll
sensor setup generates a more stable flight. The final PID
algorithm of the setup has been presented here.