Commit Graph

60357 Commits

Author SHA1 Message Date
Andrew Tridgell c980e0488e Plane: fixed terrain RTL with rally points
this fixes a bug where if the terrain database cache does not have the
tile for the location of a rally point then RTL to the rally point
with TERRAIN_FOLLOW=1 will not track terrain

The underlying issue is that Location::loc.change_alt_frame() will
return false if the location is not in the terrain memory cache. We
can't just extrapolate as the rally point could be in a totally
different terrain area to the current location. So instead we set it
as terrain_following_pending and fix it as soon as the terrain cache
is filled.

fixes https://github.com/ArduPilot/ardupilot/issues/25157
2023-10-14 10:46:00 +11:00
Andrew Tridgell 823a917ae1 autotest: added Plane.TerrainRally test
reproduces the issue from
https://github.com/ArduPilot/ardupilot/issues/25157
2023-10-14 10:46:00 +11:00
Peter Barker 8b67775673 AP_OpenDroneID: remove duplicate definition of AP_OPENDRONEID_ENABLED
... my guess is conflict resolution caused this
2023-10-14 09:19:45 +11:00
Andrew Tridgell fcd4152b30 AP_OpenDroneID: only load from persistent memory in init()
we do not want to do this from update() as it is an expensive call
2023-10-13 21:26:21 +11:00
bugobliterator 181505afa5 AP_OpenDroneID: ensure Persistent memory is not read continuously 2023-10-13 21:26:21 +11:00
Andy Piper 4c77037572 AP_Bootloader: add SpeedyBeeF405v4 2023-10-13 20:04:26 +11:00
Randy Mackay 5f242795ea Copter: update 4.4.2-beta1 release notes 2023-10-13 16:32:11 +09:00
Randy Mackay 407b503591 Rover: update 4.4.2-beta1 release notes 2023-10-13 16:32:09 +09:00
Randy Mackay 7a5e130268 Copter: 4.4.2-beta1 release notes 2023-10-13 16:32:07 +09:00
Randy Mackay 08ea4ba16d Rover: 4.4.0-beta8 release notes 2023-10-13 16:31:41 +09:00
Peter Barker 4b0958fb4f hwdef: correct compilation of CubeOrange-SimOnHW
../../libraries/AP_InertialSensor/AP_InertialSensor_config.h:20:2: error: #error "INS_AUX_INSTANCES must be zero if INS_MAX_INSTANCES is less than 3"
   20 | #error "INS_AUX_INSTANCES must be zero if INS_MAX_INSTANCES is less than 3"
      |  ^~~~~
2023-10-13 17:26:35 +11:00
Andrew Tridgell 69371e84fd AP_Logger: added build directory to VER message
this allows log review tools to use right parameter and mode map when vendor has changed the
vehicle type strings
2023-10-13 15:13:10 +11:00
Andrew Tridgell 2cb1f9bbb9 AP_Scripting: added INS filters to revert list
these may be changed in a tuning session
2023-10-13 09:48:42 +11:00
Andrew Tridgell c858b7201d AP_RCProtocol: prevent decoding past end of output array
this fixes test_sbus on clang
2023-10-13 09:42:25 +11:00
Andrew Tridgell 4709a1592f Tools: rebuild IO firmware 2023-10-13 09:42:25 +11:00
Andrew Tridgell a2717a84bf AP_RCProtocol: added a test suite for SBUS encode/decode
cover all values and check special handling of 875
2023-10-13 09:42:25 +11:00
Andrew Tridgell cb62e48164 HAL_Linux: use the AP_RCProtocol sbus decoder for Linux 2023-10-13 09:42:25 +11:00
Andrew Tridgell 11b24e3ec0 AP_SBusOut: make sbus output exactly match sbus input decoding 2023-10-13 09:42:25 +11:00
Andrew Tridgell ca4f26db17 AP_RCProtocol: make sbus_decode public to allow for a test suite 2023-10-13 09:42:25 +11:00
Andrew Tridgell 120a8c1b1d AP_RCProtocol: protect against invalid data in SBUS 2023-10-13 09:42:25 +11:00
Peter Barker 659db36efe GCS_MAVLink: accept accel cal vehicle positions as both int and long 2023-10-12 20:39:32 +11:00
Mykhailo Kuznietsov 14b67768cf Blimp: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov ebe4d4a6dc ArduSub: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov b7c040e8bc ArduPlane: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 3a231f8b32 ArduCopter: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov f659b7bfee AntennaTracker: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov cc2e156888 AP_HAL: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 83b7bb387d AP_GyroFFT: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov d86e67b498 AP_Gripper: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 3a7e939a6c AP_GPS: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 3acd0b3817 AP_Generator: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 590db701d0 AP_Frsky_Telem: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov a56f5d7a45 AP_Follow: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 8fc03e73c4 AP_FlashStorage: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov c6dfbbd9a4 AP_FlashIface: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 804d4446d1 AP_Filesystem: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 7f2975d21a AP_ExternalAHRS: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov c779d0b879 AP_ESC_Telem: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov acda439a40 AP_EFI: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov e3d9ce3fd0 AP_DroneCAN: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 9030c5b0de AP_DDS: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 2806fc98b3 AP_DAL: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 633bb159bf AP_Compass: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 4e7d5e9ecf AP_Common: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 5e9b88cf9f AP_CANManager: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 81b4dbcb27 AP_Camera: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov e723be4196 AP_BoardConfig: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov 81e1c3c0b0 AP_BLHeli: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov d901758005 AP_Beacon: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Mykhailo Kuznietsov ff70921eca AP_BattMonitor: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00