mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 00:37:35 +08:00
1ca05aaa64c96600f9034c097e1a7b48069e3d2d
The existing orb_advert_t use thoughout the code sometimes tries to treat it as a file descriptor and there are checks for < 0 and ::close calls on orb_advert_t types which is an invalid use of an object pointer, which is what orb_advert_t really is. Initially I had changed the -1 initializations to 0 but it was suggested that this should be nullptr. That was a good recommendation but the definition of orb_advert_t had to change to void * because you cannot initialize a uintptr_t as nullptr. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
PX4 Flight Core and PX4 Middleware
This repository contains the PX4 Flight Core, with the main applications located in the src/modules directory. It also contains the PX4 Drone Platform, which contains drivers and middleware to run drones.
- Official Website: http://px4.io
- License: BSD 3-clause (see LICENSE.md)
- Supported airframes (more experimental are supported):
- Multicopters
- Fixed wing
- VTOL
- Binaries (always up-to-date from master):
- Downloads
- Releases
- Downloads
- Mailing list: Google Groups
Users
Please refer to the user documentation for flying drones with the PX4 flight stack.
Developers
Contributing guide:
Developer guide: http://px4.io/dev/
Testing guide: http://px4.io/dev/unit_tests
This repository contains code supporting these boards:
- FMUv1.x
- FMUv2.x
- AeroCore (v1 and v2)
- STM32F4Discovery (basic support) Tutorial
NuttShell (NSH)
NSH usage documentation: http://px4.io/users/serial_connection
Languages
C++
51.2%
C
38.5%
CMake
4.7%
Python
3.9%
Shell
1.3%
Other
0.1%