UAV toolbox support package for PX4 : can I use CAN protocol GPS with custom flight algorithm?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
종원 이
le 28 Mar 2022
Réponse apportée : Arun Mathamkode
le 28 Juin 2022
Hello,
I am trying to use CAN protocol GPS module(here+ or here3 gps module) with uploading my custom flight control algorithm.
I select custom flight controller algorithm, and therefore mc_att_control and mc_pos_control module is disabled while all other modules(navigator or commander, etc) are still alive.
I uploaded my custom flight algorithm and connected CAN GPS module but seems Pixhawk4 board cannot recognize the CAN GPS.
I changed parameter UAVCAN_ENABLE to 1 to enable uavcan protocol, but this is not worked.
When I upload the original PX4 firmware, CAN GPS automatically is detected and can be used.
So I suspect uploading custom algorithm somehow affects the communication between CAN GPS and Pixhawk4 board.
Is there any method to use CAN GPS with uploading my custom flight algorithm?
Or, is it possible that uploading my custom flight algorithm affects the connection between peripheral hardware and Pixhawk board?
Thank you for Reading
Jongwon Lee
5 commentaires
Arun Mathamkode
le 8 Avr 2022
Hi Jongwon Lee,
Thanks for sharing the details. Yeah I agree with your observations, The warning with GNSS is the right place to investigate further. Why is the different behaviour with original PX4 and custom controller in PX4 is surprising to me also. One small catch I can think of is the PX4 Firmware versions. PX4 Support package is based on v1.10.2 and I am not sure what firmware version you may be downloading from QGroundControl. My guess is that this may be a latest version and that may be the reason for difference in behaviour. You can verify the firmware version with 'ver git' command in NSH console. I would recommend uploading PX4 v1.10.2 original firmware from QGC to have an apple to apple comparison.
Thanks,
Arun
Réponse acceptée
Arun Mathamkode
le 28 Juin 2022
I agree with your observations, The warning with GNSS is the right place to investigate further. Why is the different behaviour with original PX4 and custom controller in PX4 is surprising. One small catch I can think of is the PX4 Firmware versions. PX4 Support package is based on v1.10.2 and I am not sure what firmware version you may be downloading from QGroundControl. My guess is that this may be a latest version and that may be the reason for difference in behaviour. You can verify the firmware version with 'ver git' command in NSH console.
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!