How to properly use DO_SET_ROI?

Credit goes to imrj…

I disabled Pan under Camera Gimbal and flew 3 missions; 3 out 3 mission flew Do_SET_ROI correctly!

I had Pan enabled. The camera yaw needs to be disabled if you want the vehicle to turn toward each POI.

Hi Sully,
Do u mean to disable “stabilise yaw” under camera gimbal in the mission planner?

Hi I have a CAM with the following settings:
MNT_STAB_PAN,0 MNT_RC_IN_PAN,7
SERVO11_FUNCTION,6

But if I use Do_Set_Roi the CAM pans and the copter keeps yaw to the next wp.
Can I only use do_set_roi to keep yaw at a target while disabling the CAM PAN? Or is there an other work around?