Commit Graph

52257 Commits

Author SHA1 Message Date
Leonard Hall 4d712d61dc Copter: use position controller for landing reposition 2022-03-12 08:01:18 +09:00
Andrew Tridgell bbfcf37d5d AP_Math: fixed build error on cygwin
ensure variables are always initialised
2022-03-12 08:01:18 +09:00
Leonard Hall 1ccc2311ba AP_Math: SCurve: Increase corner speeds 2022-03-12 08:01:18 +09:00
Leonard Hall 1386ac40cf AP_Math: Convert S-Curves to use maximum Snap to remove minimum time between waypoints 2022-03-12 08:01:18 +09:00
Leonard Hall 9e7716273a AC_WPNav: Support pause 2022-03-12 08:01:18 +09:00
Leonard Hall ed11b95281 AC_WPNav: init optionally accepts stopping point 2022-03-12 08:01:18 +09:00
Leonard Hall 0de932345a AC_Loiter: use Pos_Control soften_for_landing_xy 2022-03-12 08:01:18 +09:00
Leonard Hall 43d59769fe AC_WPNav: Increase corner speeds 2022-03-12 08:01:18 +09:00
Leonard Hall c16e736bc6 AC_WP_Nav: Convert S-Curves to use maximum Snap to remove minimum time between waypoints 2022-03-12 08:01:18 +09:00
Andrew Tridgell 7d9c7a8780 Tools: added Sierra-F9P bootloader 2022-03-12 08:01:18 +09:00
MallikarjunSE ca5c60bb69 Tools: Rename board 2022-03-12 08:01:18 +09:00
MallikarjunSE 3fc302f7ad AP_HAL_ChibiOS: Add Sierra-F9P support 2022-03-12 08:01:18 +09:00
Andy Piper 0297e2e313 AP_HAL_ChibiOS: normalize BeastH7v2 in line with BeastF7v2 definition 2022-03-12 08:01:18 +09:00
Evgeniy c53837141f AP_HAL_ChibiOS: BeastH7v2 board added 2022-03-12 08:01:18 +09:00
Andrew Tridgell bffa7d9893 hwdef: fixed buzzer on CUAV_GPS peripheral 2022-03-12 08:01:18 +09:00
MallikarjunSE 2598257e76 hwdef: hwdef update with watchdog 2022-03-12 08:01:18 +09:00
MallikarjunSE 00a276df9c hwdef:update storage pages and enable watchdog 2022-03-12 08:01:18 +09:00
murata 0893789863 hwdef: Set the maximum number of barometric pressure sensors to 1 2022-03-12 08:01:18 +09:00
murata 78c193bd1e hwdef: Maximum number of battery monitors is 1 2022-03-12 08:01:18 +09:00
Andrew Tridgell 635e04567b 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:01:18 +09:00
Andrew Tridgell feb34f3a0c hwdef: added HolybroG4_GPS 2022-03-12 08:01:18 +09:00
Andrew Tridgell 3f1a138a73 HAL_ChibiOS: fixed min/max inversion in MCU voltage logging 2022-03-12 08:01:18 +09:00
Andy Piper ce8e87bd29 AP_HAL: always choose high for dshot prescaler calculation 2022-03-12 08:01:18 +09:00
Andrew Tridgell f8f15d9ff9 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:01:18 +09:00
Iampete1 c9e2fe4e54 ArduPlane: tailsitter: keep attitude controll throttle level upto date for smoother controller handover 2022-03-12 08:01:18 +09:00
Iampete1 c8c3bcf8f3 Plane: never stick mix without valid RC input 2022-03-12 08:01:18 +09:00
Iampete1 4324db6580 Plane: don't prevent stick mixing in none RC failsafe 2022-03-12 08:01:18 +09:00
Iampete1 d21b684753 AP_PiccoloCAN: GPIO servo does not count as active 2022-03-12 08:01:18 +09:00
Iampete1 121080f77a AP_Arming: don't arming check servo functions set to GPIO 2022-03-12 08:01:18 +09:00
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