I am doing some testing on the autopilot in the lab before flying.
So the aircraft is sitting on the table, I put the aircraft to stabilized flight mode and FW_P_TC > 0.
If FW_PR_P > 0 (pitchrate gain), when i tilt the aircraft in pitch, the elevators responds. So the proportional gain loop is working
However, if I set FW_PR_P=0 and FW_PR_I > 0, the elevator doesn’t respond when i tilt the aircraft. This suggest the integral control loop is not working,
I have looked through the code fw_att_control.cpp and no where suggest the integrator is locked/disabled.