Commit Graph

56978 Commits

Author SHA1 Message Date
rishabsingh3003 52bdca950b AP_RangeFinder: Add Lua Script based backend 2023-02-21 16:47:56 +11:00
Henry Wurzburg 2f1fcc8914 RC_Channel:Add mag cal switch 2023-02-21 12:35:36 +11:00
Iampete1 50eaa1cc54 Plane: move acro stabilization into mode acro 2023-02-21 11:27:24 +11:00
Iampete1 6bb0096b9d Plane: move training stabilize function to training mode 2023-02-21 11:27:24 +11:00
Iampete1 549dd3875d Plane: add mode ahrs convenience refence 2023-02-21 11:27:24 +11:00
Henry Wurzburg ed5ca01e47 AP_OSD:add aspect ratio correction for DisplayPort 2023-02-21 11:24:17 +11:00
Andrew Tridgell a57e6455ab Plane: use is_armed_and_safety_off()
this no longer sets soft_armed false when safety is on, and instead
uses is_armed_and_safety_off() when appropriate
2023-02-21 07:44:09 +11:00
Andrew Tridgell bddd716cf9 AP_Arming: added is_armed_and_safety_off() 2023-02-21 07:44:09 +11:00
Samuel Tabor 49fb4f37c5 SITL: Send VCAS in Flightgear packet. 2023-02-20 05:37:21 -08:00
Iampete1 5586f4ad3a Plane: arming: modes: don't always display 2023-02-20 10:55:32 +00:00
Peter Barker c34c60e852 autotest: add nasty mission tests 2023-02-20 21:20:20 +11:00
Peter Barker 627b9b3034 Tracker: correct compilation when AP_AdvancedFailsafe is disabled 2023-02-20 13:46:50 +11:00
Andrew Tridgell 5a4fee6ac3 SITL: fixed orientation of XPlane11 gyro data 2023-02-20 06:59:13 +11:00
Andrew Tridgell 13fbca7455 AP_OpenDroneID: fixed static msg timing
required by ASTM F3411, thanks to Brian H for noticing
2023-02-19 10:22:17 -08:00
Iampete1 6d552a32d7 AP_TECS: protect against low airspeed in reset 2023-02-19 10:20:03 -08:00
Bill Geyer f7317966dc Tools: autotest for Tradheli turbine start feature 2023-02-19 06:39:12 -05:00
Peter Barker 697b23910c Tools: size_compare_branches.py: correct elf_diff for bootloaders 2023-02-19 19:21:16 +11:00
Leonardo Garcia f6428f8936 Tools: board_types.txt: add M10126_CANPWM to board_types.txt 2023-02-19 17:17:31 +11:00
Leonardo Garcia 9706642855 hwdef: Initial support for M10126_canpwm board 2023-02-19 17:17:31 +11:00
Andrew Tridgell 3bead4f88a AP_RCTelemetry: fixed warning with gcc 12.2 2023-02-19 13:26:54 +11:00
Andrew Tridgell 312d37306e Plane: ensure home is up to date on arming
remove any discrepancy which has crept in over the last few seconds

this also ensures that relative_altitude is updated, and copes with
the EKF refusing the resetHeightDatum call
2023-02-19 10:45:42 +11:00
Andrew Tridgell d00290edfe autotest: added AltResetBadGPS test
this tests the bug in handling a glitching GPS with low accuracy with
AHRS alt reset
2023-02-19 10:45:42 +11:00
Bill Geyer 78720e9816 AP_MotorsHeli: patch for manual autorotation 2023-02-18 10:19:50 -05:00
Tom Pittenger 0ff53fa634 Tools/autotest: locations.txt add Portmoak 2023-02-18 05:47:18 -08:00
Andrew Tridgell fd0bf49ca5 AP_GPS: don't try and configure M10 options on non-M10 GPS
this fixes a pre-arm failure "GPS 1 failing configuration checks" on
non-M10 GPS modules, including AP_Periph

it also adds the ublox unconfigured msgs to the DroneCAN GNSS.Status
errors field for easier diagnosis of this type of issue in the future
2023-02-18 15:33:13 +11:00
Bill Geyer 713bc5b86e Tools: tradheli autotest for manual autorotation power recovery 2023-02-17 12:52:39 -05:00
Peter Barker 7d244e3451 AP_Compass: add and use AP_COMPASS_LIS3MDL_ENABLED 2023-02-17 23:05:48 +11:00
Peter Barker 67ff7d5eb2 Tools: add compasses missing from build options 2023-02-17 23:05:48 +11:00
Peter Barker 2dfb93be4b waf: add waf argument to get consistent builds 2023-02-17 20:48:45 +11:00
Peter Barker debb5c24b3 Tools: add waf argument to get consistent builds 2023-02-17 20:48:45 +11:00
Peter Barker ddf62cc060 AP_Math: add waf argument to get consistent builds 2023-02-17 20:48:45 +11:00
Peter Barker c7605e11bd AP_InternalError: add waf argument to get consistent builds 2023-02-17 20:48:45 +11:00
Peter Barker 5f916a7fed AP_HAL: add waf argument to get consistent builds 2023-02-17 20:48:45 +11:00
alexklimaj 96ba25b144 AP_HAL_ChibiOS:Default CAN Term to off on ARK GPS 2023-02-16 20:59:42 -08:00
Peter Barker 31de6fd0b5 autotest: tidy LUA scripting internal tests 2023-02-17 12:54:49 +11:00
Peter Barker 1aabcbd4b9 autotest: add more install-script-in-context methods 2023-02-17 12:54:49 +11:00
Peter Barker d426c73d0e autotest: rename context's example_scripts to installed_scripts 2023-02-17 12:54:49 +11:00
Peter Barker 69b8e30f28 autotest: rename remove_example_script to remove_installed_script 2023-02-17 12:54:49 +11:00
Peter Barker 306d8360fb autotest: tidy scripting examples test 2023-02-17 12:54:49 +11:00
Pierre Kancir b3f06651cf .github: only do restore cache on sitl tests 2023-02-17 11:33:00 +11:00
Pierre Kancir 9879d6651e .github: update cache key 2023-02-17 11:33:00 +11:00
Pierre Kancir 066410715b .github: fix some variables naming 2023-02-17 11:33:00 +11:00
Tom Pittenger 9ab5613bb0 Tools/autotest: update Williams locations.txt 2023-02-16 16:18:56 -08:00
Peter Barker 19ccf08412 autotest: add test for mount-poi.lua 2023-02-17 10:04:49 +11:00
Peter Barker d6b5dc206e AP_Mount: make get_attitude_euler non-virtual
If a backend ever needs to override this method then we can make it virtual, in the meantime we can save flash by re-using the quaternion getter in the frontend
2023-02-17 10:04:49 +11:00
Randy Mackay 0797cdf6fe AP_Scripting: viewpro mount driver 2023-02-16 16:49:51 +09:00
Randy Mackay a84cf91dd0 AP_Scripting: add get_camera_state binding 2023-02-16 16:49:51 +09:00
Randy Mackay 04e8fffc53 AP_Mount: add get_camera_state method 2023-02-16 16:49:51 +09:00
Peter Barker 6678689312 autotest: add install_example_script_context 2023-02-16 11:57:18 +11:00
Andrew Tridgell ab723a6fd4 SITL: stop cygwin from trying to create FIFOs
some users find the error message annoying
2023-02-15 09:05:59 -08:00