PX4 Tiltrotor tilting control via RC knob

Hi all, I am currently working on a university research project on tiltrotor VTOL, and we are looking to modify some of the px4 code to enable us to control the tilt angle of the tilt servos mid-flight from a knob on the RC Transmitter, as well as doing the blending based on the tilt angle. Iā€™m in the process of trying to get a good understanding of the code for the control_allocator and controller modules, but would appreciate it a lot if you could share your thoughts on the possible strategies to achieve this, or if you can point me to some good resources. Hopefully, this feature can eventually also be integrated to px4. Thank you very much in advance.