can virtual library be used with PID controller

simply i use it for making the flight controller and the RC receiver in one arduino module

because i have built RC remote , doing this is to show that we can build the drone with simple rf modules small and few components instead of use of RC standard remote with its receiver