mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-09 12:08:37 +08:00
cc69dd566546a16ca4c3fe48bfcbf7541d721d42
After I got a compiler warning for a printf format in this file (which I cannot reproduce anymore; for some reason g++ is usually quite happy with all the errors in this file), I fixed all 'printf' formats to match the type of their arguments as follows: uint8_t : %hhu uint16_t : %hu (or %hx) uint32_t : %u (or %x) int16_t : %hd int and int32_t : %d long int : %ld Since this file is C++, what we REALLY should be using is ostream operator<<'s of course (type safe by design and faster (compile time type matching, no need for format decoding)).
…
…
PX4 Pro Drone Autopilot
This repository holds the PX4 Pro flight control solution for drones, with the main applications located in the src/modules directory. It also contains the PX4 Drone Middleware Platform, which provides 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
- Releases
- Downloads
Users
Please refer to the user documentation and user forum for flying drones with the PX4 flight stack.
Developers
This repository contains code supporting these boards:
- Snapdragon Flight
- FMUv1.x
- FMUv2.x (Pixhawk, Pixhawk 2 and Pixfalcon)
- FMUv4.x (Pixhawk X and Pixracer)
- AeroCore (v1 and v2)
- STM32F4Discovery (basic support) Tutorial
Description
Languages
C++
50.3%
C
36.9%
CMake
4.5%
Python
3.6%
Linker Script
3.1%
Other
1.4%