Commit Graph

52237 Commits

Author SHA1 Message Date
Andrew Tridgell aebeee4c0c hwdef: added HolybroG4_GPS 2022-03-12 08:00:49 +09:00
Andrew Tridgell 07962bb97d HAL_ChibiOS: fixed min/max inversion in MCU voltage logging 2022-03-12 08:00:49 +09:00
Andy Piper 4fa909d22a AP_HAL: always choose high for dshot prescaler calculation 2022-03-12 08:00:49 +09:00
Andrew Tridgell 06e911da4b Plane: disallow mavlink disarm while flying
this relies on is_flying(), and we will need to watch for reports of
the heuristics failing
2022-03-12 08:00:49 +09:00
Iampete1 2ac2257d83 ArduPlane: tailsitter: keep attitude controll throttle level upto date for smoother controller handover 2022-03-12 08:00:49 +09:00
Iampete1 93b4eae6db Plane: never stick mix without valid RC input 2022-03-12 08:00:49 +09:00
Iampete1 ea41f6d70a Plane: don't prevent stick mixing in none RC failsafe 2022-03-12 08:00:49 +09:00
Iampete1 50ece94bf1 AP_PiccoloCAN: GPIO servo does not count as active 2022-03-12 08:00:49 +09:00
Iampete1 33a9d14499 AP_Arming: don't arming check servo functions set to GPIO 2022-03-12 08:00:49 +09:00
Andrew Tridgell d4061bdb58 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:00:49 +09:00
Tom Pittenger c32802de08 AP_Airspeed: improve description of ARSPD_TUBE_ORDR 2022-03-12 08:00:49 +09:00
Iampete1 a7932ff7f3 AP_Airspeed: rename get_health_failure_probability to get_health_probability 2022-03-12 08:00:49 +09:00
Iampete1 e8fa60db12 AP_Airspeed: Health: use reading from correct airspeed sensor 2022-03-12 08:00:49 +09:00
Iampete1 6a1f25056f AC_AttitudeControl: WeatherVane: defualt to 0 gain on plane and early return 2022-03-12 08:00:49 +09:00
Andrew Tridgell a15c80fcca AP_Scripting: fixed radius selection for ship landing 2022-03-12 08:00:49 +09:00
Andrew Tridgell fbe1672d22 Plane: use pos control for most of LAND_FINAL
this gives more accurate landing with some velocity drift
2022-03-12 08:00:49 +09:00
Andrew Tridgell b9a1c8b31e AP_Scripting: fixed beacon lost in ship landing 2022-03-12 08:00:49 +09:00
Andrew Tridgell a7fb10c6d8 AP_Scripting: review fixes 2022-03-12 08:00:49 +09:00
Andrew Tridgell 49e83841d4 Plane: review fixes
thanks Pete!
2022-03-12 08:00:49 +09:00
Andrew Tridgell c970562ef9 SITL: fixed ship offset velocity correction 2022-03-12 08:00:49 +09:00
Andrew Tridgell e6590382d8 AP_Common: improved accuracy of get_bearing()
make base function ftype, then convert to int32_t for get_bearing_to()
2022-03-12 08:00:49 +09:00
Andrew Tridgell dad6f6da97 AP_Scripting: update lua docs 2022-03-12 08:00:49 +09:00
Andrew Tridgell 0a2f347c36 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:00:49 +09:00
Andrew Tridgell 9d1e218f4c 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:00:49 +09:00
Andrew Tridgell 993248b6d5 Plane: setup target accel in POSITION1 state 2022-03-12 08:00:49 +09:00
Andrew Tridgell c5b7fd03d8 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:00:49 +09:00
Andrew Tridgell 8c454e4019 Tools: update runplanetest.py
added prearm check and cope with python3
2022-03-12 08:00:49 +09:00
Andrew Tridgell 70caec60b0 AP_Scripting: plane ship landing script 2022-03-12 08:00:49 +09:00
Andrew Tridgell 5369c147e9 AP_Scripting: added rotate_xy for Vector3f 2022-03-12 08:00:49 +09:00
Andrew Tridgell 342032477a AP_Scripting: added follow API 2022-03-12 08:00:49 +09:00
Andrew Tridgell 32e071eb08 AP_Vehicle: added update_target_location() 2022-03-12 08:00:49 +09:00
Andrew Tridgell 8df4b1adda SITL: added ship offset and ATTITUDE 2022-03-12 08:00:49 +09:00
Andrew Tridgell d7913104cb 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:00:49 +09:00
Andrew Tridgell 2b257663dc Plane: added APIs for lua ship landing 2022-03-12 08:00:49 +09:00
Andrew Tridgell 0e70270f49 Plane: link in AP_Follow
ready for ship landing
2022-03-12 08:00:49 +09:00
Andrew Tridgell 4d916055ad AP_Follow: added APIs for plane ship landing 2022-03-12 08:00:49 +09:00
Andrew Tridgell deee8354de Tools: added SFO_Bay location 2022-03-12 08:00:49 +09:00
Andrew Tridgell 59c56a5fc5 Plane: removed terrain home correction 2022-03-12 08:00:49 +09:00
Andrew Tridgell 119712d885 SITL: removed terrain home correction 2022-03-12 08:00:49 +09:00
Andrew Tridgell 1c88f8801a AP_Terrain: removed terrain home correction 2022-03-12 08:00:49 +09:00
Andrew Tridgell e5df662751 AP_Scripting: removed terrain home correction 2022-03-12 08:00:49 +09:00
Andrew Tridgell 8b46782070 AP_HAL_SITL: removed terrain home correction 2022-03-12 08:00:49 +09:00
Andrew Tridgell ad0f2a39ff AP_Common: removed terrain home correction 2022-03-12 08:00:49 +09:00
Andrew Tridgell fc7a8a1a19 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:00:49 +09:00
Randy Mackay c32b7823e8 AP_Follow: zreo velocities if not provided 2022-03-12 08:00:49 +09:00
Andrew Tridgell 4233bf5fda 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:00:49 +09:00
Andrew Tridgell 36f68c8b64 AP_NavEKF3: fixed constrain indexing bug
fixes #20180

thanks to @liyue75 for spotting this!
2022-03-12 08:00:49 +09:00
Andrew Tridgell 47739344b8 Plane: prepare for 4.2.0beta1 2022-03-12 08:00:49 +09:00
Andrew Tridgell 66cda54be1 Plane: added release notes for 4.2.0beta1 2022-03-12 08:00:49 +09:00
Randy Mackay d0dbc1dfd6 Rover: version to 4.2.0-beta1 2022-02-28 12:03:24 +09:00