Libreria UAV Toolbox Pixhawk de Matlab soporta Pixhawk 6c mini?
14 ビュー (過去 30 日間)
古いコメントを表示
Estoy tratando de conectar una controlador de vuelo pixhawk 6c mini con la librería de soporte UAV para pixhawk, Trato de cargar el firmware PIXHAWC 6C, pero se genera un error. ¿Existe limitaciones con este controlador y la librería de matlab UAV Toolbox?
0 件のコメント
回答 (2 件)
Govind KM
2024 年 11 月 4 日
From what I understand using Google Translate, you are trying to work with a Pixhawk 6C Mini flight controller using the UAV Toolbox Support Package for PX4 Autopilots and are getting some error. The Pixhawk 6C Mini is not directly supported out of the box in the support package. To use this autopilot with the support package, kindly refer to the following documentation:
A list of supported boards, along with documentation and examples, can be found on the File Exchange page for the support package:
More information on the specific error encountered along with reproduction steps would help in debugging the issue further.
Hope this is helpful!
1 件のコメント
Omar
2024 年 11 月 6 日
First of all, thank you very much for your response.
I'm checking the error message.
When I tried to upload the selected firmware with the setup procedure, I typed the COMX which only appears for a few seconds in the device manager, after pressing the "upload firmware" button, the error message I got is: "Upload firmware failed: Build the firmware again.”
In another attempt, I skip this step and load the firmware using QgroundControl, but in this way QGC loads firmware version 1.15.0 v. When I try to connect a read uORB block, I get the error message:
Error in 'untitled1/PX4 uORB Read': Failed to evaluate mask initialization commands.
Caused by:
"sensor_accel" is not a valid uORB topic name.
Component:Simulink | Category:Model error
Error evaluating 'InitFcn' callback of Constant block 'untitled1/PX4 uORB Read/Constant'.
Callback string is 'px4.internal.block.SubscribeBlockMask.dispatch('constantBlkInitFcn', gcb);'
Caused by:
"sensor_accel" is not a valid uORB topic name.
Component:Simulink | Category:Model error
I will continue carrying out more tests to correct the errors and connect the autopilot
Thanks for your help
Ankur Bose
2025 年 1 月 15 日
Although Pixhawk 6c Mini is not officially supported, you can still use the board by selecting Pixhawk 6c as the hardware target. Can you confirm if you are able to build the firmware and upload to Pixhawk 6c mini in hardware setup screen if you select Pixhawk 6c as the target
2 件のコメント
Omar
2025 年 2 月 11 日 13:19
編集済み: Omar
2025 年 2 月 11 日 15:44
Hi,
Yes, I also tried loading px4_fmu-v6c_default firmware with unlisted boards option , but it doesn't work, I wait quite a while for some change but nothing happens.
when I prees in build command, i have this in the MW_px4_log.txt log file.
BUILDSTARTING_11-Feb-2025_10-32-40
CMAKE Config selected : px4_fmu-v6c_default
your 131072x1 screen size is bogus. expect trouble
/bin/sh: 1: cmake: Permission denied
/bin/sh: 1: cmake: Permission denied
make: *** [Makefile:227: px4_fmu-v6c_default] Error 127
BUILDCOMPLETE_11-Feb-2025_10-32-40
To find out if it is a Matlab problem, I tried many times using the first PX4 app tutorial to upload a sample program to Pixhawk 6c mini using ubuntu commands, I ran the command many times (first with SITL simulator and it works perfectly).
make px4_fmu-v6c_default upload
and I always got the message and nothing happen.
waiting for bootloader...
I unplugged and plugged the USB connection, but nothing happens. I tried to identify the USB port changes in the Ubuntu USB device list, but I couldn't see any changes when I unplugged the USB cable.
Using Mission Planner and QGC, I manage to upload firmware and configure the card, with slight problems but I can establish communication through the USB port.
I think it's a problem with the USB port recognition with the Pixhawk mini board and the 'make' command, I'm acquiring a Pixhawk 6c board that appears as a board supported by matlab to continue testing.
thank you
Jesus
Ankur Bose
2025 年 2 月 12 日 9:52
Can you confirm that you have run the steps mentioned in below documentation?
https://www.mathworks.com/help/uav/px4/ug/setup-px4-toolchain-wsl.html
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!