# nextpilot-flight-control **Repository Path**: KChokeM/nextpilot-flight-control ## Basic Information - **Project Name**: nextpilot-flight-control - **Description**: NextPilot飞控系统是一款基于px4和rt-thread的国产先进自动驾驶仪。能够便捷的应用于教育、研究和工业等领域,让工程师专注于自己的擅长领域(比如嵌入式、控制算法、应用业务)进行高效的开发。 - **Primary Language**: C - **License**: BSD-3-Clause - **Default Branch**: main - **Homepage**: https://www.nextpilot.org - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 25 - **Created**: 2025-07-14 - **Last Updated**: 2025-07-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # NextPilot Flight Control System

[English](README.md) | [中文](README_zh.md) | [Español](README_es.md) | [Deutsch](README_de.md) # Overview `NextPilot Flight Control System` is a powerfull, scalable and advanced autopilot, which is designed to be easily used in education, research, and industry. ## Main Feature 1. Excellent performance. RTOS based on [RT-Thread V5.0.2](https://github.com/RT-Thread/rt-thread/tree/v5.0.2) with active community and rich components, such as FINSH, DFS, ULOG etc. 2. More powerfull. main function ported from [PX4 V1.14.2](https://github.com/PX4/PX4-Autopilot/tree/v1.14.2), which developed by world-class developers from industry and academia, powered all kinds of vehicles from racing and cargo drones through to ground vehicles and submersibles. 3. High scalability. has high-quality scalable software architecture ([uORB](pkgs/uORB/uORB.h), [PARAM](pkgs/param/param.h), [AIRFRAME](apps/airframe/README.md)), loose coupling([Automatic initialization mechanism](https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/programming-manual/basic/basic?id=rt-thread-%e8%87%aa%e5%8a%a8%e5%88%9d%e5%a7%8b%e5%8c%96%e6%9c%ba%e5%88%b6)), modularity(`a FOLDER, a MODULE FOR a FUNCTION`), is easy to tailor and expand. 4. High efficency. support MATLAB/Simulink [Model-Based Design](https://www.mathworks.com/help/simulink/gs/model-based-design.html), which enable fast and cost-effective development of dynamic systems, including control systems, signal processing systems, and communications systems. 5. Support variety of simulation, such as Model-in-Loop, [Software-in-Loop](bsps/sitl/qemu/README.md), Hardware-in-Loop, [Simulation-in-Hardware](apps/simulation/simulator_sih/sih.cpp). 6. Support most widely used open-source hardware [Pixhawk FMUv5](bsps/px4/fmu-v5/README.md) and hardware [designed by NextPilot](bsps/ndt//README.md). 7. Supports all mainstream compiling tools such as Gcc+VScode ([Windows](https://github.com/nextpilot/nextpilot-windows-toolchain)/[Ubuntu](https://github.com/nextpilot/nextpilot-ubuntu-toolchain)), Keil and IAR. ## System Architecture ![](./docs/develop/03.系统框架/architecture.png) ## Supported Vehicle - Multirotor: quad, six, oct, hex - Fixed Wing: plane - Hybrid VTOL: standard, tailsitter, tiltrotor NextPilot use [airframe](apps/airframe/README.md) set Vehicle parameters and start modules. ## Supported Hardware open-source hardware: - [CUAV Pixhawk V5+ (FMUv5)](https://docs.px4.io/main/en/flight_controller/cuav_v5_plus.html), [bsp code](bsps/px4/fmu-v5) - [CUAV Pixhawk V6X (FMUv6x)](https://docs.px4.io/main/en/flight_controller/cuav_pixhawk_v6x.html), to be done - [Holybro Pixhawk V5X (FMUv5X)](https://docs.px4.io/main/en/flight_controller/pixhawk5x.html), to be done - [Holybro Pixhawk V6X (FMUv6X)](https://docs.px4.io/main/en/flight_controller/pixhawk6x.html), to be done designed by NextPilot: - fcs-v1, flight control system - ins-v1, integrated navigation system - ads-v1, air data system key design point: - mcu: STM32F765 and STM32F753 - sensors: gnss/gps/rtk, IMU(gyro, accel), baro, mag, airspeed - actuator: pwm, can - battery: smart, analog - radio control: s.bus - notification: led, tunes, safety_button ## Supported IDE/Compiler The main IDE/compilers supported by NextPilot are: - KEIL MDK - ARM GCC + VSCode, [Windows](https://github.com/nextpilot/nextpilot-windows-toolchain) | [Ubuntu](https://github.com/nextpilot/nextpilot-ubuntu-toolchain) # Function ## Controller - Flight Mode: manul, arco, att, alt, pos; takeoff, land, mission, loiter, rtl, follow; offboard - Safety: geofence, low power, gnss loss, rc loss, datalink loss, engine failure, etc ## Estimator - Gyro fft: - Sensor Vote: - Wind estimator: ## Telemetry - mavlink - uavcan ## Simulation - [SITL: qemu + SIH](bsps/sitl/qemu/README.md) - HITL: stm32 + SIH # Document ## User Manual [Getting Started](https://www.nextpilot.org/manual) | [Flight Mode](https://www.nextpilot.org/manual/05.%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5/01.%E9%A3%9E%E8%A1%8C%E6%A8%A1%E5%BC%8F/index.html) | [Simulation]() ## Develeop Guide [Getting Started](https://www.nextpilot.org/develop/01.%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8/01.setup-develop-environment.html) | [System Startup](https://www.nextpilot.org/develop/03.%E7%B3%BB%E7%BB%9F%E6%A1%86%E6%9E%B6/03.system-startup.html) | [Build Tools](https://www.nextpilot.org/develop/01.%E5%BF%AB%E9%80%9F%E5%85%A5%E9%97%A8/%E6%9E%84%E5%BB%BA%E9%85%8D%E7%BD%AE%E7%B3%BB%E7%BB%9F/Kconfig.html) # Comunity NextPilot is very grateful for the support from all community users and developers, and if you have any ideas, suggestions or questions in the process of using NextPilot, NextPilot can be reached by the following means, and we are also updating NextPilot in real time on these channels. - homepage: - discuss: - issues: - email: Scan the QR code to join the `NextPilot Community Support` group, we will do our best to answer your questions. # License NextPilot follows the [BSD 3-Clause License](./LICENSE). It's completely open-source, can be used in commercial applications for free, does not require the disclosure of code, and has no potential commercial risk. # Contribution If you are interested in NextPilot and want to join in the development and become a code contributor, please refer to the [Code Contribution Guide](.github/CONTRIBUTING.md). Thanks for the following contributors!