Hello everyone,
Apologies if this is a basic question — I’m completely new to PX4 but eager to learn.
At university, I was assigned a project to design and control a motion platform using PX4 and a Pixhawk 6C, leveraging its IMU and control capabilities. The goal is to send commands from MATLAB — generated from translation and attitude angles — convert them to servo angles, and then to PWM signals, which are sent to the Pixhawk to drive the servos.
I’m using the PX4 Support Package and the PWM Write blocks in Simulink, but so far I haven’t been able to get PX4 to apply the PWM values — they remain stuck at default (I’m just using the example models from the support package). I suspect PX4’s internal control modules may be overriding the PWM values written by the Simulink blocks.
Since I only need the Pixhawk to output PWM signals (not run flight control logic), is it possible to disable the internal control algorithms and use it purely as a PWM signal sender and an IMU Unit? Any guidance or suggestions would be greatly appreciated!
Thanks in advance!