Modify coefficients for better output of AHRS in "UAV Toolbox Supportage Package for PX4 Autopilots", in Simulink
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi everyone;
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?
Thanks
댓글 수: 0
답변 (1개)
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Algorithms and Deploy on PX4 Autopilot에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!