How to connect with QGroundControl via Telemetry Radios in PX4 support package?

19 views (last 30 days)
We want to connect with QGroundControl via Telemetry Radios but we get the following error:
Error on link Serial Device on COM6. Error connecting: Could not create port. Access is denied
It talks about using a companion computer like Raspberry Pi to make it happen. It seems here the support package does not support communication by telemetry.
Is there a way to communicate with telemetry radios without using a Companion computer?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Jan 2025
Edited: MathWorks Support Team on 31 Jan 2025
First, separately from the PX4 Support Package, you have to ensure that the Telemetry radios are properly set up. Below are some of the PX4 documentation links that you can refer to:
When using the PX4 Support package, you will need to enable mavlink on the telem Port in "rc.txt". To access the release-specific documentation, please execute the following command in the MATLAB R2020a command window:
>> web(fullfile(docroot, 'supportpkg/px4/ug/enable-mavlink-px4.html'))
Note that the PX4 support package supports serial communication via "TELEM" ports. To learn how to set the serial port for "TELEM" ports, execute the following command in the MATLAB R2020a command window and refer to the second note. 
>> web(fullfile(docroot, 'supportpkg/px4/ref/port-mapping-for-serial.html'))
This has been tested via physical connection: "Pixhawk Telem ports" -> "FTDI" -> "USB" -> "PC". To refer to the physical connections, use the following command:
>> web(fullfile(docroot, 'supportpkg/px4/ug/external-mode-px4.html'))
Please follow the below link to search for the required information regarding the current release:

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!