But flying in acro mode is relatively not!
@lordmax2 between your initial post and your responses to the several longer posts providing details about how to do quadcopter software it is evident that you are in very deep water.
And it’s not clear you know how to swim.
I do mean to discourage you. There are many many projects of various levels of sophistication that address all the aspects of flight control.
I suggest you find them, study them, use them with real vehicles and get a feel for all that is involved.
Rolling your own from scratch is just going to be a waste of your time and possibly quite dangerous.
Write your own after learning a crap-ton more about this from end to end.
betaflight
and
ardupilot
and
silverware flight control
for three variously capable and mature flight control software “ecosystems”.
a7