THE CUBE ORANGE / PX4 SUPPORT PACKAGE TOOLBOX CONNECTION PROBLEM !!

7 Ansichten (letzte 30 Tage)
Kübra Hilal Salman
Kübra Hilal Salman am 16 Mär. 2021
Kommentiert: Ankur Bose am 18 Apr. 2023
Hello all,
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.
Thanks
Best Regards.
  4 Kommentare
Kübra Hilal Salman
Kübra Hilal Salman am 17 Mär. 2021
Lastly, after some changes like updating PX4 bootloader I will able to fixed the COM port without changing in time in PX4. But right now after the building the firmware for accelerometer data as last step of Hardware setup , I get an error as "Firmware is not suitable for this board" - "Found Board id:.. , Bootloader version 5" etc so still I have a problem about the connection process although I will able to fixed the COM port.
Ankur Bose
Ankur Bose am 15 Sep. 2022
The R2022b release of UAV Toolbox Support Package for PX4 Autopilots now provides the facility to deploy code on Cube Orange board. Download and install the R2022b release and install the support package to get this feature. In R2022b, the support package also supports PX4 Firmware v1.12.3. Follow this document to get started with Cube Orange in R2022b

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Ankur Bose
Ankur Bose am 23 Jul. 2021
Hello,
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.
Ankur
  3 Kommentare
Ankur Bose
Ankur Bose am 15 Sep. 2022
The R2022b release of UAV Toolbox Support Package for PX4 Autopilots now provides the facility to deploy code on Cube Orange board. Download and install the R2022b release and install the support package to get this feature. In R2022b, the support package also supports PX4 Firmware v1.12.3. Follow this document to get started with Cube Orange in R2022b
Efraim MB
Efraim MB am 18 Apr. 2023
I'm following those steps and Cube Orange doesn't show up in the drop list. What ca I do?

Melden Sie sich an, um zu kommentieren.


Ankur Bose
Ankur Bose am 15 Sep. 2022
The R2022b release of UAV Toolbox Support Package for PX4 Autopilots now provides the facility to deploy code on Cube Orange board. Download and install the R2022b release and install the support package to get this feature. In R2022b, the support package also supports PX4 Firmware v1.12.3. Follow this document to get started with Cube Orange in R2022b
  2 Kommentare
Efraim MB
Efraim MB am 18 Apr. 2023
I'm following those steps and Cube Orange doesn't show up in the drop list. What ca I do?
Ankur Bose
Ankur Bose am 18 Apr. 2023
If you are using R2022b, Cube Orange wont show up Hardware board list but it is supported. You can follow this doc to enable the support

Melden Sie sich an, um zu kommentieren.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by