Modify coefficients for better output of AHRS in "UAV Toolbox Supportage Package for PX4 Autopilots", in Simulink
조회 수: 3(최근 30일)
My teamwork and I are working on the Holybro "Pixhawk 4" board, with its add-on "UAV Toolbox Supportage Package for PX4 Autopilots".
We would like to use the predisposed blocks of this add-on to estimate the attitude of the board (and consequently of the drone) and by testing the various tools provided we have identified "PX4 Vehicle Attitude" as the best block, reading the uORB topic "vehicle_odometry".
We know that the output of "Vehicle Attitude" estimates the attitude using accelerometer, gyroscope and magnetometer producing a quaternion.
The values are good but we need more responsive dynamic parameters.
How can we change the filter coefficients implemented by the block?
Arun Mathamkode 2022년 6월 15일
As you mentioned correctly, the block just reads the attitude values from the uorb topic 'vehicle_odomtery'. The block doesnot implement any filters and hence if you want to modify the filter values probbaly you may need to investigate which px4 module is publishing the topic 'vehicle_odometry' and you will find the filter implementation in that specific module. To address these kind of usecase, PX4 have provided a set of 'PX4 Parameters'. To start with you can have a look at the Paramters for Attitude Q estimator. You can update the parameters through QGroundControl or the nsh console.