Clear Filters
Clear Filters

Actuator Control from Simulink After Autopilot Status changed to Arm

2 views (last 30 days)
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.
  1 Comment
Hasan Khanzada
Hasan Khanzada on 19 Feb 2024
Edited: Hasan Khanzada on 23 Feb 2024
@Debadipto @Manoj Velmurugan @Arun Mathamkode @Ankur Bose i am sorry to bother you with this query. But it would be really appreciated if anyone of you could help me with this issue, please.
Regards

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!