mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
the value '1000' is not really magic, and it was resulting in sending a single 1ms pulse on all IO channels for a brief instant on startup. With some servos this led to the control surfaces being at extremes (and straining) on startup. It may also contribute to making ESC calibration harder on multi-rotors In the worst case it could cause a IC motor with reverse throttle to go full throttle on startup A logic analyser shows the problem very clearly. Changing the default_value fields to 0 from 1000 fixes the issue and no pulses are generated until an explicit value suitable for the airframe is provided via one of the many methods PWM output values can be generated Conflicts: src/drivers/boards/px4fmu-v4/px4fmu_pwm_servo.c src/lib/ecl
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
- 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++
51.2%
C
38.5%
CMake
4.7%
Python
3.9%
Shell
1.3%
Other
0.1%