1 Star 0 Fork 0

后厂村路练习生 / PX4-Autopilot-Firmware

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

YanQi Flight Control Board

3 x IMU & Baro & 4 x ESC small size PX4 for MAV research.

Physical

  • Mounting: 20 x 35 mm, Φ 2 mm
  • Dimensions: 24 x 39 x 6 mm
  • Weight: 4.9 g

Specifications

  • MCU: STM32H743VIH6, 480MHz, 2MB Flash
  • IMU: BMI088 + BMI088 + ICM42688P
  • Baro: BMP388
  • ESC: 4 x Bluejay
  • MicroSD Card Slot
  • 7 x UART
  • 4 x PWM (DShot)
  • 1 x External I2C
  • 1 x External SPI
  • 1 x SRGBLED neopixel
  • 1 x SWD
  • 2 x ADC (Battery Voltage, Current)
  • 2 x AUX
  • USB Type-C
  • BEC 9V 3A output
  • BEC 5V 3A output

UART Mapping

<style> .center { width: auto; display: table; margin-left: auto; margin-right: auto; } </style>
UART TTY SerialName Suggest Funcion DMA
USART1 /dev/ttyS0 GPS1 OFF
USART2 /dev/ttyS1 GPS2 WIFI module (ESP8266) ON
USART3 /dev/ttyS2 TEL1 DEBUG OFF
UART4 /dev/ttyS3 TEL2 Offboard PC ON
UART5 /dev/ttyS4 RC Receiver BlackSheep ON
USART6 /dev/ttyS5 TEL3 OFF
UART7 /dev/ttyS6 TEL4 Optical Flow (MTF-01) ON

Debug Port

USART3 RX and TX are configured for use as the System Console.

Getting Start

Compile Locally

Follow the PX4 standard approach.

Bootloader:

make UCAS_YanQiH7_bootloader

Firmware:

make UCAS_YanQiH7_default

Burn Bootloader & Firmware

Bootloader:

Method 1:

To enter DFU mode, pull up BOOT0 while connecting the USB cable to your computer.

make UCAS_YanQiH7_bootloader upload

Method 2:

To enter DFU mode, pull up BOOT0 while connecting the USB cable to your computer.

dfu-util -a 0 --dfuse-address 0x08000000 -D ./build/UCAS_YanQiH7_bootloader/UCAS_YanQiH7_bootloader.bin

If the burning tool is not installed, install the dfu util burning toolkit first.

sudo apt install dfu-util

Firmware:

Method 1:

make UCAS_YanQiH7_default upload

Connect the flight controller directly to your computer via USB.

The firmware will then proceed through a number of upgrade steps (downloading new firmware, erasing old firmware etc.). Each step is printed to the screen.

Once the firmware has completed loading, the device/vehicle will reboot and reconnect.

Method 2:

Start QGroundControl and connect the vehicle.

Select "Q" icon > Vehicle Setup > Firmware (sidebar) to open Firmware Setup.

Connect the flight controller directly to your computer via USB.

Check Advanced settings and select the version from the dropdown list.

Select the Custom Firmware file... option to install the custom firmware for the flight controller (autodetected).

Click the OK button to start the update.

The firmware will then proceed through a number of upgrade steps (downloading new firmware, erasing old firmware etc.). Each step is printed to the screen and overall progress is displayed on a progress bar.

Once the firmware has completed loading, the device/vehicle will reboot and reconnect.

Setting Up PX4 Configuration Settings

Power

MAVLink

Receiver

TODO

  • stable SRGBLED driver based on srgbled_dma
BSD 3-Clause License Copyright (c) 2012 - 2022, PX4 Development Team All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

PX4-Autopilot官网项目的v1.13.0版本分支,主要服务于编译和烧录YanQi FlightControlBoard雁栖飞控板的对应固件。 展开 收起
BSD-3-Clause
取消

发行版 (1)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/joker_bin/PX4-Autopilot-Firmware.git
git@gitee.com:joker_bin/PX4-Autopilot-Firmware.git
joker_bin
PX4-Autopilot-Firmware
PX4-Autopilot-Firmware
master

搜索帮助