THE CUBE ORANGE / PX4 SUPPORT PACKAGE TOOLBOX CONNECTION PROBLEM !!
43 views (last 30 days)
I am trying to connect my The Cube Orange PX4 module to my MATLAB for using PX4 support package to change/design control systems from Simulink
On the Hardware Setup part, after building PX4 Firmware part, I could not connect and get accelerometer data as a last step, I see always the busy spinner
when entering the bootloader COM port.I am doing the steps over and over again but I could not achieve a succesful connection
I believe I did all the necessary steps as
Download and establish Windows PX4 Toolchain also you have to verify toolchain to proceed further steps.(I found the toolchain link on MATLAB official site)
- Dowload the PX4 firmware using QGroundControl (I also checked the daily updates of QGC).
- Add rc.txt file under etc folder as a root folder to SD card.
- Check the latest update of QGroundControl and firmware (I used QGroundControl to flash the firmware)
- Also my drivers for The Cube are updated
Maybe this can be a driver problem because also on the other forums there have been serious debates over Mission Planner / QGC conflict over The Cube Orange PixHawk module.When I flash the code using QGC one of my drivers shown defected but with flashing Mission Planner both of them shown working properly. I have to use QGC as MATLAB manual says but have no idea how to solve this problem, I will be glad if somebody help me.
I could not find any useful information for Trouble Shooting guide so I hope somebody give a solution.
Ankur Bose on 23 Jul 2021
Looks like you are facing a standard problem with Cube family of boards that come with 2 different COM ports for bootloader (COM7 for you) and main communication (COM11 for you). In the hardware setup today, we dont have an option to distinguish between the two.
My recommendation would be to reach out to MathWorks Tech Support. We can provide you some workarounds that might help with you the COM port issue.
I an also interested to know your requirement for the Cube Orange board. This board at the moment is not officially supported from the UAV Toolbox Support Package for PX4 Autopilots but we would loike to hear from you why the Cube Orange board suits your requirements compared to standard Pixhawk family boards such as Pixhawk 4.