알고리즘을 개발하여 PX4 Autopilot에 배포하기
알고리즘 개발 및 PX4 Autopilot에 배포할 모델 준비
알고리즘을 개발하고 PX4 Autopilot에 배포할 모델을 준비합니다. 다음 항목에서는 모델 구성 파라미터, COM 포트 설정, Simulink®에서 PX4 Autopilot을 배포하는 방법에 대한 추가 정보를 제공합니다.
블록
함수
getMATFilesFromPixhawk | Retrieve MAT files from SD card inserted on Pixhawk hardware board |
px4MATFilestitcher | Combine multiple MAT-files retrieved from SD card into a single MAT-file |
createPX4uORBMessage | Create custom uORB topic for logging in a Simulink model (R2023b 이후) |
createCustomPX4Parameter | Create custom PX4 parameter for writing to the PX4 system parameter (R2025a 이후) |
도움말 항목
Simulink 모델 설정하기
- Model Configuration Parameters for PX4 Flight Controller
Parameter and configuration options for creating and running applications on PX4® flight controller - Set COM Port for Upload and Communication in Simulink
Set COM port for Upload and Communication in Simulink models. - Deployment on Cube Orange Autopilot from Simulink
Deploy Simulink generated code to Cube Orange Autopilot. - Deployment on Cube Blue H7 Autopilot from Simulink
Deploy Simulink generated code to Cube Blue H7 Autopilot. - Deployment on Unsupported PX4 Autopilots from Simulink
Deploy Simulink generated code to unsupported PX4 Autopilot.
PX4 Autopilot 주변기기 정보
- Index Numbers for Analog Channels on Pixhawk Series Controller Boards
Identify the index numbers for signals from analog channels. - Serial Port Names and Corresponding Labels on PX4 Flight Controller Boards
Identify the UART/USART port number for the labels seen on PX4 flight controller boards. - I2C Bus Port Numbers for Labels on PX4 Autopilots
Identify the bus port number for the labels seen on PX4 flight controller boards
PX4 Autopilot에서 MAVLink 통신 사용
- Connecting to NSH Terminal for Debugging
Connect to the NSH terminal of Pixhawk® Series controller for debugging.
추가 정보
- Migrating from Pixhawk Pilot Support Package to UAV Toolbox Support Package for PX4 Autopilots
Migrate from existing Pixhawk Pilot Support Package to the new UAV Toolbox Support Package for PX4 Autopilots. - Getting Started with uORB Blocks for PX4 Autopilots Support Package
Read and write uORB messages using PX4 uORB Read and PX4 uORB Write blocks. - Connecting to NSH Terminal for Debugging
Debug PX4 autopilot using NSH terminal.
문제 해결
Troubleshooting Deploy to Hardware Issues
Solve the problems when you try to deploy the Simulink model to Pixhawk Series flight controllers.
Troubleshooting PX4 Firmware Build Failure Due to Flash Memory Overflow on the Hardware
Solve the flash memory overflow on the hardware issues while using the default px4 board build target file.
Troubleshooting Running Out of File Descriptor Issues
Solve the running out of file descriptor issues.
Troubleshooting USB Issues with Cube Orange on Windows
Solve the USB issues with Cube Orange.









