Commit Graph

49898 Commits

Author SHA1 Message Date
Andrew Tridgell 6953778b4c HAL_ChibiOS: use micros16() for blheli pass-thru IRQ
saves some IRQ overhead, makes time handling more consistent
2021-10-02 18:26:39 +10:00
Andrew Tridgell 5714ee113f HAL_ChibiOS: added micros16() method 2021-10-02 18:26:39 +10:00
Andrew Tridgell 1283d42fbf AP_HAL: added micros16() method
fast method for both 16 and 32 bit timers
2021-10-02 18:26:39 +10:00
Andrew Tridgell 2aef3364bc HAL_ChibiOS: optimisation for AP_HAL::micros() on systems with 32 bit timers
most ChibiOS boards have a 32 bit timer. This optimisation reduces the
cost of micros() from 0.3us to 0.06us, which is significant in
interrupt handlers and for accurate timing. It takes advantage of the
timer being 32 bit with 1MHz clock
2021-10-02 18:26:39 +10:00
Andrew Tridgell 2be23fff2b Plane: obey Q_RTL_ALT when in POS1 and POS2 states
this fixes the alt target for when user has disabled the quadplane
approach code
2021-10-02 12:46:59 +10:00
Randy Mackay 9de5ef72db Copter: 4.1.0-rc4 release notes 2021-10-01 20:38:10 -04:00
Iampete1 1371499022 AP_Motors: add note about test to new inverse functions 2021-10-01 22:04:51 +01:00
Iampete1 484a0b989f AP_Motors: add expo inverse test example 2021-10-01 22:04:51 +01:00
Hwurzburg 636358b668 Plane: add param for throttle control in transition to VTOL 2021-10-01 22:04:51 +01:00
Iampete1 c178962200 Plane: tailsitter: only apply throttle scaling once in assised flight 2021-10-01 22:04:51 +01:00
Iampete1 0c1fe0b373 AP_MotorsMulticopter: add inverse thrust_to_actuator and thrust curve functions 2021-10-01 22:04:51 +01:00
lthall d5286ec533 AC_AttitudeControl: Fix initialize bug 2021-10-01 13:14:46 -04:00
Pierre Kancir a8e1bebe69 .github: test building chibios on Python2 too 2021-10-01 21:30:20 +10:00
Pierre Kancir 65b1458c5e .github: remove 1M boards from GCC6 build 2021-10-01 19:30:43 +10:00
Pierre Kancir 28a2c1be68 .github: use clang/clang++ instead of clang-7/clang++-7
this prevent failures on build_ci.sh
2021-10-01 19:30:43 +10:00
Pierre Kancir 920ccb089f .github: migrate semaphore to github actions 2021-10-01 19:30:43 +10:00
bugobliterator eb9b29f84b waf: do not generate headers when cleaning 2021-10-01 15:20:18 +10:00
Peter Barker 4aeb85d080 GCS_MAVLINK: correct mavlink return code when wiping storage header 2021-10-01 11:39:25 +10:00
bugobliterator ae65f2e6ab AP_GPS: fix build and working with single GPS Receiver config 2021-09-30 21:53:07 +10:00
Tom Pittenger a7686de92b AP_Periph: fix GCS/mavlink for additional serialports 2021-09-30 14:55:01 +10:00
nkruzan dbe673e81c Tools:install-prereqs-ubuntu.sh use $APT_GET for pkg-config
While writing a script to automate dev env install locally I notice this is not abiding by the $ASSUME_YES like the other apt-get install commands.
2021-09-30 14:49:09 +10:00
Andrew Tridgell aa05629ef6 AP_HAL: added peekiovec test
fixes #18285
2021-09-30 12:46:07 +10:00
Peter Barker d7f037e548 autotest: add test for setting streamrates from files 2021-09-30 10:31:03 +10:00
Peter Barker df7b2982d3 AP_Filesystem: add fgets 2021-09-30 10:31:03 +10:00
Peter Barker 3f37a21aaf GCS_MAVLink: set message intervals from config files 2021-09-30 10:31:03 +10:00
bugobliterator dd9f513aa5 AP_HAL_ChibiOS: setup led control via lua script for HerePro 2021-09-30 08:52:27 +10:00
bugobliterator d23e37e3bb AP_Scripting: add script for controling herepro leds per vehicle state 2021-09-30 08:52:27 +10:00
bugobliterator e666e460f9 AP_Scripting: add periph methods for getting vehicle states 2021-09-30 08:52:27 +10:00
bugobliterator 8a4b9c2b36 AP_Periph: add support for handling Notify State message 2021-09-30 08:52:27 +10:00
bugobliterator 2673cde52b AP_UAVCAN: add dsdl for sending vehicle notify state 2021-09-30 08:52:27 +10:00
bugobliterator e4c6c0ad17 AP_UAVCAN:add support for sending Vehicle Notify state 2021-09-30 08:52:27 +10:00
Siddharth Purohit 24448d6adf AP_Scripting: add rgb control for independent LEDs 2021-09-30 08:52:27 +10:00
bugobliterator 756972a80b AP_DAL: replace config_error with allocation_error 2021-09-30 08:51:26 +10:00
bugobliterator f5ee2a3a50 AP_CANManager:replace config_error with allocation_error 2021-09-30 08:51:26 +10:00
bugobliterator ae4d368267 Plane: replace config_error with allocation_error 2021-09-30 08:51:26 +10:00
bugobliterator 2751afaa75 Copter: replace config_error with allocation_error 2021-09-30 08:51:26 +10:00
bugobliterator fd369e8262 AP_UAVCAN: throw allocation error when failing to allocate 2021-09-30 08:51:26 +10:00
bugobliterator b897f984a7 AP_UAVCAN: use config error instead of panic on allocation failure 2021-09-30 08:51:26 +10:00
bugobliterator 224abe7933 AP_ExternalAHRS: use config error instead of panic on allocation failure 2021-09-30 08:51:26 +10:00
bugobliterator 8a3e1b96ab Blimp: use allocation_error instead of panic on allocation failure 2021-09-30 08:51:26 +10:00
Peter Barker a55bd3955a autotest: ensure camera feedback messages at correct altitude 2021-09-30 08:50:47 +10:00
Pierre Kancir 040a5dffb9 Tools: fix missing warning on Clang 2021-09-30 08:22:40 +10:00
Ben Wolsieffer 68ee2c21dd AP_Control: apply pitch rate limit to turn coordination
At high bank angles, for example when rolling to/from inverted, a large turn
coordination pitch rate offset is requested. Before this patch, this offset was
not subject to the configured pitch rate limit, which could result in pitch
controller integrator windup.
2021-09-29 17:03:32 +01:00
murata b8456f7b89 Copter: YAW_MODE judgment does everything 2021-09-29 23:52:40 +09:00
Gone4Dirt 0038b8edd7 StorageManager: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10:00
Gone4Dirt ab07a7c4fa SRV_Channel: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10:00
Gone4Dirt a0245a2640 GCS_MAVLink: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10:00
Gone4Dirt f8ed6426a9 AP_Scripting: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10:00
Gone4Dirt 55f6feac9a AP_Scheduler: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10:00
Gone4Dirt e0af10886b AP_RangeFinder: Add APM_BUILD_Heli 2021-09-29 19:55:48 +10:00