Actuator Control from Simulink After Autopilot Status changed to Arm
Mostrar comentarios más antiguos
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 comentario
Hasan Khanzada
el 19 de Feb. de 2024
Editada: Hasan Khanzada
el 23 de Feb. de 2024
Respuestas (0)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!