pixhawk simulink calibration of sensors

7 views (last 30 days)
Ahmed khattab
Ahmed khattab on 16 Oct 2016
Commented: Hasan Khanzada on 7 Jun 2023
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 Comments
Lakshay Gopalka
Lakshay Gopalka on 20 Mar 2019
Hey, Can you tell from where to download "PX4 PSP Demo - Attitude Control System", I am unable to find it anywhere. Thanks.
Hasan Khanzada
Hasan Khanzada on 7 Jun 2023
@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.

Sign in to comment.

Answers (3)

Steven
Steven on 11 Apr 2018
Seems I have the same problem, some could help?

Ningjun Liu
Ningjun Liu on 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 Comments
islam dib
islam dib on 14 Mar 2020
Hello,
please how to record them , more explanation (with picture if possible)

Sign in to comment.


Emanuele Argieri
Emanuele Argieri on 6 May 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

Community Treasure Hunt

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

Start Hunting!