pixhawk simulink calibration of sensors

After uploading the "PX4 PSP Demo - Attitude Control System" to pixhawk, How could I calibrate accelerometer and magnetometer? I tried mission planner and qground but failed to do that. any suggestions will be appreciated thanks

4 Commenti

I did the calibration by deactivating the rc.txt/running the basic controller and doing so (hoping the parameters are stored). Anyway, if I reactivate the generated simulink code and look at the attitude data I have huge sensor drifts. Not sure if the vehicle attitude estimator is started correctly in the rc.txt. Did someone get the IMU to deliver valid attitude? Thanks. Sebastian
Hello Sebastian, Did you get any idea to solve this problem?
Hey, Can you tell from where to download "PX4 PSP Demo - Attitude Control System", I am unable to find it anywhere. Thanks.
@Ahmed khattab @Sebastian @Khalil Mokhtari @Lakshay Gopalka @Steven is there any one able to solve the calibration process with Simulink Model. I am facing same issue and does not have any clue to resolve this.

Accedi per commentare.

Risposte (3)

Steven
Steven il 11 Apr 2018
Seems I have the same problem, some could help?
Ningjun Liu
Ningjun Liu il 28 Apr 2018
(1) Use QGC to calibrate all sensors; this should correct the outputs of the attitude angles; (2) For gyro, acc and mag measurements, it is probably best to measure and record them in simulink2pix, and then manually correct them.

2 Commenti

Hello,
please how to record them , more explanation (with picture if possible)
R
R il 14 Mag 2020
just save the data to sd card

Accedi per commentare.

Emanuele Argieri
Emanuele Argieri il 6 Mag 2019
I've the same problem. Probably it's in the rc.txt file. I've noticed that the right command for the attitute_estimator is "attitude_estimator_q startusleep 5000". Tell me if that solves the problem

Richiesto:

il 16 Ott 2016

Commentato:

il 7 Giu 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by