Commit Graph

52242 Commits

Author SHA1 Message Date
MallikarjunSE ad1e513b2f hwdef: hwdef update with watchdog 2022-03-12 08:00:49 +09:00
MallikarjunSE ae76cfbe4d hwdef:update storage pages and enable watchdog 2022-03-12 08:00:49 +09:00
murata d46e4249bd hwdef: Set the maximum number of barometric pressure sensors to 1 2022-03-12 08:00:49 +09:00
murata 81d89ab51e hwdef: Maximum number of battery monitors is 1 2022-03-12 08:00:49 +09:00
Andrew Tridgell ead26a9ac8 hwdef: enable GPS_MOVING_BASELINE on FreeflyRTK and f303-GPS
this allows for F9P based dual-GPS yaw on DroneCAN peripherals with
auto-config
2022-03-12 08:00:49 +09:00
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