Actuator Control from Simulink After Autopilot Status changed to Arm

2 ビュー (過去 30 日間)
Hasan Khanzada
Hasan Khanzada 2024 年 2 月 13 日
編集済み: Hasan Khanzada 2024 年 2 月 23 日
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 件のコメント
Hasan Khanzada
Hasan Khanzada 2024 年 2 月 19 日
編集済み: Hasan Khanzada 2024 年 2 月 23 日
@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

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by