Ability to modify P + PID Position Controller

Hello,
According to the Multicopter Control Architecture the Position and Velocity Controller Diagram are a mix of P (for position) and PID(for velocity).

Would it be possible to add a PI/PD/PID controller module instead of the P controller for Position?
I note the following codes (mc_pos_control module) have the controllers.
I wanted to know if there are other places to be modified for the different types of controllers.

Any help will be appreciated. Thank you in anticipation!

Hello.
Check out this code-file: PX4-Autopilot/src/modules/mc_pos_control/PositionControl/PositionControl.hpp

Line-85 has a function defined:
void setPositionGains(const matrix::Vector3f &P) { _gain_pos_p = P; }

This is where you can update it to something else, if you wish to.

This function gets called in PX4-Autopilot/src/modules/mc_pos_control/PositionControl/PositionControl.cpp where Line 115 does the Proportional Control