Commit Graph

55805 Commits

Author SHA1 Message Date
Andrew Tridgell ca3be1d0c7 AP_Scripting: fixed roll correction at end of partial climbing circle 2022-12-15 07:17:06 +11:00
Andrew Tridgell afc1a38b73 AP_Scripting: use luaM_malloc instead of allocf
handles GC if needed automatically
2022-12-15 07:17:06 +11:00
Andrew Tridgell ff6d9a12a4 AP_Scripting: try a gc on alloc fail in logging 2022-12-15 07:17:06 +11:00
Andrew Tridgell aa8ff87ad2 AP_Scripting: make most object functions local 2022-12-15 07:17:06 +11:00
Andrew Tridgell aa865e1f9b AP_Scripting: save some class variables 2022-12-15 07:17:06 +11:00
Andrew Tridgell 716adb6d59 AP_Scripting: use metatable object approach for aerobatics
saves about 30k ram for AirShow, about 60k ram for F3AF23
2022-12-15 07:17:06 +11:00
Peter Barker ee908e8df2 AP_Logger: include PIDInfo header in place of PID header
AC_PID.h includes a remarkable amount of stuff
2022-12-14 22:21:27 +11:00
Iampete1 da503a5e44 Plane: GCS_Mavlink: use base class DO_SET_HOME 2022-12-14 19:25:44 +11:00
Andy Piper 7b9126d612 AP_Baro: only log dynamic pressure when compensation is enabled 2022-12-14 19:19:58 +11:00
Andy Piper 5358b4d8de autotest: add up and down components to baro compensation test 2022-12-14 19:19:58 +11:00
Andy Piper e4b8d8a9b6 AP_NavEKF3: ensure wind estimation from airspeed can be used on its own 2022-12-14 19:19:58 +11:00
Andy Piper d3d841ec98 AP_NavEKF2: ensure wind estimation from airspeed can be used on its own 2022-12-14 19:19:58 +11:00
Andy Piper 56ad3887f7 AP_Baro: add logging of dynamic pressure 2022-12-14 19:19:58 +11:00
Andy Piper 71a27027f1 SITL: add baro wind coefficients for Z-axis. 2022-12-14 19:19:58 +11:00
Andy Piper 5727cfacb9 AP_Baro: add static pressure position error correction in the Z-axis for fast copters at high lean 2022-12-14 19:19:58 +11:00
Peter Barker 343b72dc32 waf: whitelist AP_LandingGear_config.h for vehicle-dependant macros 2022-12-14 18:30:23 +11:00
Peter Barker 3d641fab8d AP_Landing: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Peter Barker 3c201ae741 Tools: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Peter Barker 0cf56ea320 ArduPlane: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Peter Barker c32a11f37a ArduCopter: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Peter Barker 1eb5911bf5 SITL: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Peter Barker 2f76e12522 RC_Channel: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Peter Barker e10593ee69 AP_LandingGear: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Peter Barker d60db821cf AP_HAL_ChibiOS: make and use AP_LANDINGGEAR_ENABLED 2022-12-14 18:30:23 +11:00
Peter Barker fc6590fdee Tools: add richenpower generator to build options 2022-12-13 20:18:33 +11:00
Leonard Hall ed0921a418 Copter: Support changing update period in Motors 2022-12-13 17:10:06 +11:00
Leonard Hall 16ccdeb058 Plane: Support changing update period in Motors 2022-12-13 17:10:06 +11:00
Leonard Hall 231fc2b18b Sub: Support changing update period in Motors 2022-12-13 17:10:06 +11:00
Leonard Hall 67205f8114 AP_Motors: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 5d690f0360 Copter: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 0bc5e68aed Plane: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 2500e1ebe5 AntennaTracker: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 76c76a6928 Sub: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 5491d5bf2d Blimp: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 55e19bbf5b AC_WPNav: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 3c69d28237 AC_AttitudeControl: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 6eb57d618a AP_WheelEncoder: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 2f2143ca6f AP_Control: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall f0822e5121 Filter: Support changing update period 2022-12-13 17:10:06 +11:00
Leonard Hall 1382923db0 AP_Math: Support changing update period 2022-12-13 17:10:06 +11:00
lthall 0fefe1a05a AC_PID: Support changing update period 2022-12-13 17:10:06 +11:00
Henry Wurzburg 06730ab1bc ArduPlane: add warning for large offset cal 2022-12-13 17:08:42 +11:00
Henry Wurzburg 08840b4a65 AP_Airspeed: add warning for large offset cal 2022-12-13 17:08:42 +11:00
Andrew Tridgell 50d00f4e45 AP_UAVCAN: log bus statistics 2022-12-13 16:56:57 +11:00
Andrew Tridgell 21b4a19c6f HAL_SITL: implement CAN get_statistics() 2022-12-13 16:56:57 +11:00
Andrew Tridgell bfff5548ef HAL_ChibiOS: implement get_statistics() 2022-12-13 16:56:57 +11:00
Andrew Tridgell 05a6c0d026 AP_HAL: added statistics structure for CAN 2022-12-13 16:56:57 +11:00
Peter Barker 1c9d01c8fd AP_HAL: use singleton getter for Baro in SIMState
this instance variable was always nullptr due to constructor ordering
2022-12-13 12:51:39 +11:00
Andrew Tridgell 27c4293302 uavcan: update submodule 2022-12-13 12:30:42 +11:00
Andrew Tridgell 9938a1c6a5 DroneCAN: update pydronecan 2022-12-13 12:30:42 +11:00