Actuator Control from Simulink After Autopilot Status changed to Arm

조회 수: 1 (최근 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