Commit Graph

52128 Commits

Author SHA1 Message Date
Andrew Tridgell a9f8e8144d AP_Periph: fixed moving baseline yaw for single CAN peripherals
the AP_GPS_UAVCAN driver requires this param for auto-config of MB yaw
on DroneCAN GPS
2022-03-12 08:01:18 +09:00
Tom Pittenger bf11e304f6 AP_Airspeed: improve description of ARSPD_TUBE_ORDR 2022-03-12 08:01:18 +09:00
Iampete1 7ced9b0d32 AP_Airspeed: rename get_health_failure_probability to get_health_probability 2022-03-12 08:01:18 +09:00
Iampete1 8a4f256ad5 AP_Airspeed: Health: use reading from correct airspeed sensor 2022-03-12 08:01:18 +09:00
Iampete1 2f3b1eac6d AC_AttitudeControl: WeatherVane: defualt to 0 gain on plane and early return 2022-03-12 08:01:18 +09:00
Andrew Tridgell 82737dc863 AP_Scripting: fixed radius selection for ship landing 2022-03-12 08:01:18 +09:00
Andrew Tridgell 928f22cd15 Plane: use pos control for most of LAND_FINAL
this gives more accurate landing with some velocity drift
2022-03-12 08:01:18 +09:00
Andrew Tridgell 6815dcd688 AP_Scripting: fixed beacon lost in ship landing 2022-03-12 08:01:18 +09:00
Andrew Tridgell cf05496687 AP_Scripting: review fixes 2022-03-12 08:01:18 +09:00
Andrew Tridgell 1cd1e57567 Plane: review fixes
thanks Pete!
2022-03-12 08:01:18 +09:00
Andrew Tridgell 06f67d6937 SITL: fixed ship offset velocity correction 2022-03-12 08:01:18 +09:00
Andrew Tridgell 45c2452675 AP_Common: improved accuracy of get_bearing()
make base function ftype, then convert to int32_t for get_bearing_to()
2022-03-12 08:01:18 +09:00
Andrew Tridgell cfcc7650fd AP_Scripting: update lua docs 2022-03-12 08:01:18 +09:00
Andrew Tridgell e539e293c9 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-12 08:01:18 +09:00
Andrew Tridgell b74ba4d780 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-12 08:01:18 +09:00
Andrew Tridgell 281377065c Plane: setup target accel in POSITION1 state 2022-03-12 08:01:18 +09:00
Andrew Tridgell 5119808e8b Plane: allow for a trans decel margin
so if we are behind the velocity curve we are less likely to overshoot
landing
2022-03-12 08:01:18 +09:00
Andrew Tridgell 7477dfec7c Tools: update runplanetest.py
added prearm check and cope with python3
2022-03-12 08:01:18 +09:00
Andrew Tridgell 30b73452d6 AP_Scripting: plane ship landing script 2022-03-12 08:01:18 +09:00
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