Hi, i am trying to control PWM output from RC Control Transmitter. i have saturated the PWM value from 1400 to1600 and observing the corresponding servo deflections only when Autopilot status is Un-armed. But when i change the staus to Arm the changes i have made in simulink does not seems to be effective. Like in same simulink model, when status is changed to Arm the values does not saturate between 1400 to 1600 and Complete Deflection from 1000 ot 2000 is observed. I mean to saw that using RC Controller i am able to move the control surfaces/actuators but they are no more limited between 1400 to1600. It feels as if, after Arming RC controller command are not read from simulink model but directly using default PX4 Autopilot Modules.
How can i ensure that the RC Caommand are always read from simulink model so that my custom code between RC Transmitter and PWM Output reamins effective even if the Autopilot Status is Armed.