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!