@Varunsaini778 Do you already have a frame for your quadricopter? If not what size and how weight your quadri should carry? There is a flight controller named navio2 that you can plug in the raspberry pi. It is details in the link sent by @norika-takumi. Also, what kind of sensor do you want to place? Is this related with flight data? or different data? There several ways to proced, for example in the case of navio2, the raspberry become the “flight controller”. Another way is to use a built-in flight controller and to connect it to a separate raspberry pi (or companion computer) where you way plug in your stuff.