Commit Graph

52127 Commits

Author SHA1 Message Date
Tom Pittenger 4eb39b8dae AP_Airspeed: improve description of ARSPD_TUBE_ORDR 2022-03-10 07:41:00 +11:00
Iampete1 832ac24bb9 AP_Airspeed: rename get_health_failure_probability to get_health_probability 2022-03-10 07:40:57 +11:00
Iampete1 ff2fdb65ef AP_Airspeed: Health: use reading from correct airspeed sensor 2022-03-10 07:40:54 +11:00
Iampete1 d83503b9d1 AC_AttitudeControl: WeatherVane: defualt to 0 gain on plane and early return 2022-03-10 07:39:49 +11:00
Andrew Tridgell beeb46b4a5 AP_Scripting: fixed radius selection for ship landing 2022-03-10 07:36:33 +11:00
Andrew Tridgell 1d2a64951c Plane: use pos control for most of LAND_FINAL
this gives more accurate landing with some velocity drift
2022-03-10 07:36:30 +11:00
Andrew Tridgell ce4580efd2 AP_Scripting: fixed beacon lost in ship landing 2022-03-10 07:36:27 +11:00
Andrew Tridgell 20e30fbda9 AP_Scripting: review fixes 2022-03-10 07:36:24 +11:00
Andrew Tridgell c4ce86a839 Plane: review fixes
thanks Pete!
2022-03-10 07:36:21 +11:00
Andrew Tridgell ab54dda3ca SITL: fixed ship offset velocity correction 2022-03-10 07:36:18 +11:00
Andrew Tridgell 96a55878a7 AP_Common: improved accuracy of get_bearing()
make base function ftype, then convert to int32_t for get_bearing_to()
2022-03-10 07:36:14 +11:00
Andrew Tridgell f7e10208cd AP_Scripting: update lua docs 2022-03-10 07:36:11 +11:00
Andrew Tridgell c41a3af59d Plane: wait till motors are fully up before takeoff in guided mode
this allows for guided mode takeoff in tilt-rotors. Otherwise motors
till be pointing forward and takeoff will go very badly
2022-03-10 07:36:08 +11:00
Andrew Tridgell 32404f5aa5 Plane: cope with high angle error in airbrake state
if we are flying too far off the target vector then exit airbrake
state. This prevents flying for a long distance away from the landing
point in airbrake mode
2022-03-10 07:36:05 +11:00
Andrew Tridgell 948ae05922 Plane: setup target accel in POSITION1 state 2022-03-10 07:36:01 +11:00
Andrew Tridgell 395cf1b6dd Plane: allow for a trans decel margin
so if we are behind the velocity curve we are less likely to overshoot
landing
2022-03-10 07:35:58 +11:00
Andrew Tridgell c9938658da Tools: update runplanetest.py
added prearm check and cope with python3
2022-03-10 07:35:54 +11:00
Andrew Tridgell b62e98c7e3 AP_Scripting: plane ship landing script 2022-03-10 07:35:51 +11:00
Andrew Tridgell 613e1ae7a9 AP_Scripting: added rotate_xy for Vector3f 2022-03-10 07:35:48 +11:00
Andrew Tridgell 2358e84d4e AP_Scripting: added follow API 2022-03-10 07:35:44 +11:00
Andrew Tridgell 8f8d327c82 AP_Vehicle: added update_target_location() 2022-03-10 07:35:40 +11:00
Andrew Tridgell c0f8fd9dce SITL: added ship offset and ATTITUDE 2022-03-10 07:35:36 +11:00
Andrew Tridgell d0ce3c8774 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-10 07:35:32 +11:00
Andrew Tridgell 25f57af2e3 Plane: added APIs for lua ship landing 2022-03-10 07:35:29 +11:00
Andrew Tridgell abae8518f0 Plane: link in AP_Follow
ready for ship landing
2022-03-10 07:35:25 +11:00
Andrew Tridgell 878219be3a AP_Follow: added APIs for plane ship landing 2022-03-10 07:35:21 +11:00
Andrew Tridgell 76f483f3de Tools: added SFO_Bay location 2022-03-10 07:35:13 +11:00
Andrew Tridgell 46ede1b73f Plane: removed terrain home correction 2022-03-10 07:35:03 +11:00
Andrew Tridgell fa4edc2ba1 SITL: removed terrain home correction 2022-03-10 07:35:00 +11:00
Andrew Tridgell e8535115bd AP_Terrain: removed terrain home correction 2022-03-10 07:34:57 +11:00
Andrew Tridgell 3b0b7b4bf2 AP_Scripting: removed terrain home correction 2022-03-10 07:34:55 +11:00
Andrew Tridgell 7a9ac498cf AP_HAL_SITL: removed terrain home correction 2022-03-10 07:34:52 +11:00
Andrew Tridgell 6dc843b341 AP_Common: removed terrain home correction 2022-03-10 07:34:49 +11:00
Andrew Tridgell 38662b98d8 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-09 07:50:54 +11:00
Randy Mackay cb5ee43077 AP_Follow: zreo velocities if not provided 2022-03-06 13:10:06 +11:00
Andrew Tridgell 17db2505f2 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-06 13:10:03 +11:00
Andrew Tridgell 16ae8fb765 AP_NavEKF3: fixed constrain indexing bug
fixes #20180

thanks to @liyue75 for spotting this!
2022-03-04 21:49:35 +11:00
Andrew Tridgell bb81a3bd3b Plane: prepare for 4.2.0beta1 2022-03-02 07:42:57 +11:00
Andrew Tridgell 88de8cdc21 Plane: added release notes for 4.2.0beta1 2022-03-02 07:42:48 +11: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