UAV toolbox support package for PX4: Calibration slow due to custom flight algorithm
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I developed my custom flight algorithm(position controller and attitude controller), and uploaded it using default startup script(rcS.txt).
After that, I executed sensor calibration using QGroundControl, and it seems work well but the speed of calibration is way much slow(Take about 1minute for gyroscope calibration).
I am suspecting this symptom is because of my custom flight controller which is too heavy for Pixhawk Cube 2.1 board. But not sure that Controller Computing power can affect to calibration process.
Does development team have experienced this symptom? Or is it possible my controller can affect calibration process due to lack of computing power? Or if it isn't can you give some candidate that I can figure out why calibration is too slow?
Thank you.
0 Commenti
Risposta accettata
Arun Mathamkode
il 30 Nov 2021
To confirm whether the custom app from Simulink (px4_simulink_app) is causing the slowness in calibration, you can try stopping the custom app before trying the calibration. You can use 'px4_simulink_app stop' command in QGC MAVLink Console to stop the custom app.
If you are seeing a performance improvement, may be you are right, the custom flight controller might be very heavy. By default, all the controller logic you design in your Simulink model will be start running as soon as the Simulink custom app starts. You can consider modelling the controllers such that basd on arming status the controller actions are kicking in. You may need to use additional modelling ( Conditionally Executed Subsystems ) for the same.
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!