mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Problem: _mag_device_id is used to get the correct rotation matrix for each mag. But on POSIX, _mag_device_id was always 0, leading to invalid rotation matrices. This resulted in stale mag error messages (rot matrix=0 ==> mag data=0). _mag_device_id was 0 because there are no /dev/magX devices (eg. on RPi), thus the mag driver could not be opened. This patch does: get the device id from the uorb topic instead. We still need the device handle on certain platforms to apply the calibration params and to check if the mag is internal or external. Problem left: on POSIX, the check for external mag does not work.
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, LICENSE.md)
- Supported airframes:
- Multicopters
- Fixed wing
- VTOL
- many more experimental types (Rovers, Blimps, Boats, Submarines, etc)
- Releases: Downloads
Please refer to the user documentation and user forum for flying drones with the PX4 flight stack.
Weekly Dev Call
The PX4 Dev Team syncs up on a weekly dev call.
- Wednesday 17:00 Central European Time, 11:00 Eastern Time, 08:00 Pacific Standard Time
- Uber conference (dial-in or web client)
- The agenda is announced in advance on the PX4 Discuss
- Issues and PRs may be labelled devcall to flag them for discussion
Developers
Maintenance Team
- Project / Founder - Lorenz Meier
- Dev Call - Ramon Roche
- Communication Architecture
- UI / UX
- Multicopter Flight Control
- VTOL Flight Control
- Fixed Wing Flight Control
- Racers - Matthias Grob
- OS / drivers - David Sidrane
- UAVCAN / Industrial - Pavel Kirienko
- State Estimation - James Goppert, Paul Riseborough
- Vision based navigation
- Obstacle Avoidance - Vilhjalmur Vilhjalmsson
- Snapdragon
- Intel Aero
- Raspberry Pi / Navio - Beat Kueng
- Parrot Bebop - Michael Schaeuble
- Airmind MindPX / MindRacer - Henry Zhang
Supported Hardware
This repository contains code supporting these boards:
- Snapdragon Flight
- Intel Aero
- Raspberry PI with Navio 2
- Parrot Bebop 2
- FMUv1.x
- FMUv2.x
- FMUv3.x Pixhawk 2
- FMUv4.x
- Pixracer
- Pixhawk 3 Pro
- FMUv5.x (ARM Cortex M7, future Pixhawk)
- STM32F4Discovery (basic support) Tutorial
- Gumstix AeroCore (v1 and v2)
- Airmind MindPX V2.8
- Airmind MindRacer V1.2
- Bitcraze Crazyflie 2.0
Project Milestones
The PX4 software and Pixhawk hardware (which has been designed for it) has been created in 2011 by Lorenz Meier.
Description
Languages
C++
51.2%
C
38.5%
CMake
4.7%
Python
3.9%
Shell
1.3%
Other
0.1%