Commit Graph

52109 Commits

Author SHA1 Message Date
Andrew Tridgell 9e3bd93993 AP_Scripting: added rotate_xy for Vector3f 2022-03-12 08:01:18 +09:00
Andrew Tridgell 70e7bf4ed9 AP_Scripting: added follow API 2022-03-12 08:01:18 +09:00
Andrew Tridgell efd884cd1e AP_Vehicle: added update_target_location() 2022-03-12 08:01:18 +09:00
Andrew Tridgell b2620e3334 SITL: added ship offset and ATTITUDE 2022-03-12 08:01:18 +09:00
Andrew Tridgell 773d261c6a Plane: fix NAV_CONTROLLER_OUTPUT in Q modes
Q modes don't always use wp_nav, but do use pos_control

AUTO and QRTL setup the plane navigation as well, so can use the L1
data
2022-03-12 08:01:18 +09:00
Andrew Tridgell fe26956947 Plane: added APIs for lua ship landing 2022-03-12 08:01:18 +09:00
Andrew Tridgell a8adf187ae Plane: link in AP_Follow
ready for ship landing
2022-03-12 08:01:18 +09:00
Andrew Tridgell b0112ee804 AP_Follow: added APIs for plane ship landing 2022-03-12 08:01:18 +09:00
Andrew Tridgell 4f0bbac405 Tools: added SFO_Bay location 2022-03-12 08:01:18 +09:00
Andrew Tridgell 29bad99038 Plane: removed terrain home correction 2022-03-12 08:01:18 +09:00
Andrew Tridgell 6e851d3bef SITL: removed terrain home correction 2022-03-12 08:01:18 +09:00
Andrew Tridgell 3293f04f8c AP_Terrain: removed terrain home correction 2022-03-12 08:01:18 +09:00
Andrew Tridgell 06345926c8 AP_Scripting: removed terrain home correction 2022-03-12 08:01:18 +09:00
Andrew Tridgell a301fd8567 AP_HAL_SITL: removed terrain home correction 2022-03-12 08:01:18 +09:00
Andrew Tridgell b6676ae0ec AP_Common: removed terrain home correction 2022-03-12 08:01:18 +09:00
Andrew Tridgell e001fa9cc6 Plane: added Q_LAND_ALTCHG parameter
this is the threshold height change over 4 seconds for a landing to be
detected. It can be raised if landing detection is very slow
2022-03-12 08:01:18 +09:00
Randy Mackay 2861282fed AP_Follow: zreo velocities if not provided 2022-03-12 08:01:18 +09:00
Andrew Tridgell 2032b95f9b AP_Follow: support the FOLLOW_TARGET mavlink message
this is used by qgroundcontrol, allowing follow on a mobile device

note that you must set the qgc option to "always send follow" and also
must set FOLL_ALT_TYPE=2 in ArduPilot
2022-03-12 08:01:18 +09:00
Andrew Tridgell d5293b2030 AP_NavEKF3: fixed constrain indexing bug
fixes #20180

thanks to @liyue75 for spotting this!
2022-03-12 08:01:18 +09:00
Andrew Tridgell 392d879f56 Plane: prepare for 4.2.0beta1 2022-03-12 08:01:18 +09:00
Andrew Tridgell 868dbf6ef3 Plane: added release notes for 4.2.0beta1 2022-03-12 08:01:18 +09:00
Randy Mackay 8b0a080f6f Rover: version to 4.2.0-beta1 2022-02-28 11:48:55 +09:00
Randy Mackay aa8f041d14 Copter: version to 4.2.0-beta1 2022-02-28 11:48:34 +09:00
Randy Mackay a843249f11 Rover: 4.2.0-rc1 release notes 2022-02-28 11:43:37 +09:00
Randy Mackay 0846a950bb Copter: 4.2.0-rc1 release notes 2022-02-28 11:43:37 +09:00
Peter Barker 122d97ece7 autotest: add comment clarifying what an error actually means 2022-02-28 12:47:57 +11:00
Peter Barker 43bbfacef5 AP_Baro: reformat log message to separate fields out 2022-02-28 12:47:57 +11:00
Peter Barker 7bb13e934d autotest: add support for multi-line log formats 2022-02-28 12:47:57 +11:00
Peter Barker 13fa1e30ad ArduPlane: rename and make enum RC_Channel::ControlType
Type:: is too generic; get_type should probably be get_control_type
2022-02-27 09:55:01 +11:00
Peter Barker 37af7e5166 RC_Channel: rename and make enum RC_Channel::ControlType
Type:: is too generic; get_type should probably be get_control_type
2022-02-27 09:55:01 +11:00
Peter Barker 4e122a3d50 AP_IOMCU: rename and make enum RC_Channel::ControlType
Type:: is too generic; get_type should probably be get_control_type
2022-02-27 09:55:01 +11:00
Peter Barker 14ce09279f RC_Channel: privatise switch reading functions 2022-02-27 09:51:04 +11:00
Peter Barker d3db716dd9 RC_Channel: remove unused functions 2022-02-27 09:51:04 +11:00
Peter Barker d41388f242 RC_Channel: privatise range accessors 2022-02-27 09:51:04 +11:00
Peter Barker f79c43eebd Tools: build_binaries.py: ensure existence of buildlogs dir
If buildlogs didn't exist then the sqlite database creation would fail.

This really shouldn't have been done in init anyway...
2022-02-26 14:17:01 +11:00
Henry Wurzburg f5766bb098 AP_BattMonitor: update name of type 10 to Sum of Selected Monitors 2022-02-26 08:31:24 +09:00
murata 53d8d9b58e Frame_params: Add DJI AGRAS MG-1 2022-02-26 08:28:45 +09:00
Peter Barker e6c1bc2402 autotest: fix MAVFTP test 2022-02-26 10:11:19 +11:00
Randy Mackay 10e69373b3 AP_Scripting: copter-fast-descent has less aggressive slowdown at end 2022-02-26 08:05:05 +09:00
Randy Mackay 3efebcf1e0 AP_Scripting: copter-fast-descent uses small default radius 2022-02-26 08:05:05 +09:00
Randy Mackay fc9cfe9b4a AP_Scripting: copter fast descent from Auto
Also use custom parameters
Allow yaw to be static or point towards center
2022-02-26 08:05:05 +09:00
Peter Barker 3f7e120a67 autotest: add test for terrain_check 2022-02-25 09:28:04 +11:00
Peter Barker 62efb470f6 autotest: change fly_terrain_mission test name 2022-02-25 09:28:04 +11:00
Randy Mackay 020262bfe7 Rover: fix nav_script_time timeout 2022-02-24 10:00:42 +09:00
Randy Mackay df5c3acdfe Copter: fix nav_script_time timeout 2022-02-24 10:00:42 +09:00
Andy Piper b10d6f6ce9 bootloaders: update SPRacingH7 bootloaders. 2022-02-24 10:19:07 +11:00
Andy Piper 0696dda324 AP_FlashIface: add support for DTR variant of w25q found on SPRacingH7 2022-02-24 10:19:07 +11:00
Andy Piper ed952a0ea0 AP_HAL_ChibiOS: allow flash to be write-protected/unprotected on reboot
control protection support via HAL_FLASH_PROTECTION
provide support for flash protection on SPRacingH7
SPRacingH7 bootloader needs to use w25q-dtr
2022-02-24 10:19:07 +11:00
Andy Piper b32638b29e AP_Bootloader: allow flash to be unprotected from the bootloader 2022-02-24 10:19:07 +11:00
Andy Piper c01b1801c8 AP_BoardConfig: add options for write protecting bootloader and main flash
add option to completely remove protection on flash banks
2022-02-24 10:19:07 +11:00