pixhawk simulink calibration of sensors
Show older comments
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
Sebastian
on 10 Jan 2017
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
Khalil Mokhtari
on 1 May 2018
Hello Sebastian, Did you get any idea to solve this problem?
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
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.
Answers (3)
Steven
on 11 Apr 2018
0 votes
Seems I have the same problem, some could help?
Ningjun Liu
on 28 Apr 2018
0 votes
(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.
Emanuele Argieri
on 6 May 2019
0 votes
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
Categories
Find more on Vehicle Network Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!