Commit Graph

52292 Commits

Author SHA1 Message Date
Andrew Tridgell
cdd63a239e AP_Scripting: fixed radius selection for ship landing 2022-03-10 07:34:20 +11:00
Andrew Tridgell
5e14b9efe6 Plane: use pos control for most of LAND_FINAL
this gives more accurate landing with some velocity drift
2022-03-10 07:34:20 +11:00
Andrew Tridgell
3f0110e924 AP_Scripting: fixed beacon lost in ship landing 2022-03-10 07:34:20 +11:00
Andrew Tridgell
ba57e0a9d8 AP_Scripting: review fixes 2022-03-10 07:34:20 +11:00
Andrew Tridgell
cc9b9813cb Plane: review fixes
thanks Pete!
2022-03-10 07:34:20 +11:00
Andrew Tridgell
c658f170cb SITL: fixed ship offset velocity correction 2022-03-10 07:34:20 +11:00
Andrew Tridgell
8973519232 AP_Common: improved accuracy of get_bearing()
make base function ftype, then convert to int32_t for get_bearing_to()
2022-03-10 07:34:20 +11:00
Andrew Tridgell
3d9086b460 AP_Scripting: update lua docs 2022-03-10 07:34:20 +11:00
Andrew Tridgell
f09c715d7a 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:34:20 +11:00
Andrew Tridgell
3659669409 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:34:20 +11:00
Andrew Tridgell
f9ecf15973 Plane: setup target accel in POSITION1 state 2022-03-10 07:34:20 +11:00
Andrew Tridgell
2864e21b31 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:34:20 +11:00
Andrew Tridgell
b9d96ad148 Tools: update runplanetest.py
added prearm check and cope with python3
2022-03-10 07:34:20 +11:00
Andrew Tridgell
3dca7f08b7 AP_Scripting: plane ship landing script 2022-03-10 07:34:20 +11:00
Andrew Tridgell
5c94be1d72 AP_Scripting: added rotate_xy for Vector3f 2022-03-10 07:34:20 +11:00
Andrew Tridgell
197ccda408 AP_Scripting: added follow API 2022-03-10 07:34:20 +11:00
Andrew Tridgell
711ecb45ab AP_Vehicle: added update_target_location() 2022-03-10 07:34:20 +11:00
Andrew Tridgell
18782c4990 SITL: added ship offset and ATTITUDE 2022-03-10 07:34:20 +11:00
Andrew Tridgell
33bc067edf 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:34:20 +11:00
Andrew Tridgell
3fe9a55269 Plane: added APIs for lua ship landing 2022-03-10 07:34:20 +11:00
Andrew Tridgell
c54fb0f51b Plane: link in AP_Follow
ready for ship landing
2022-03-10 07:34:20 +11:00
Andrew Tridgell
ab64744ccd AP_Follow: added APIs for plane ship landing 2022-03-10 07:34:20 +11:00
Andrew Tridgell
431330c651 Tools: added SFO_Bay location 2022-03-10 07:34:20 +11:00
Andrew Tridgell
72087335f7 Plane: removed terrain home correction 2022-03-10 07:34:20 +11:00
Andrew Tridgell
07b78ab9a6 SITL: removed terrain home correction 2022-03-10 07:34:20 +11:00
Andrew Tridgell
5d3a0a78cb AP_Terrain: removed terrain home correction 2022-03-10 07:34:20 +11:00
Andrew Tridgell
0de1185625 AP_Scripting: removed terrain home correction 2022-03-10 07:34:20 +11:00
Andrew Tridgell
535d7f0d85 AP_HAL_SITL: removed terrain home correction 2022-03-10 07:34:20 +11:00
Andrew Tridgell
5560dc24b5 AP_Common: removed terrain home correction 2022-03-10 07:34:20 +11:00
Iampete1
a7bc844780 Plane: never stick mix without valid RC input 2022-03-09 18:26:30 +11:00
Andy Piper
bb3bedb90d AP_HAL: always choose high for dshot prescaler calculation 2022-03-09 18:23:41 +11:00
Iampete1
c46a19bf89 ArduPlane: tailsitter: keep attitude controll throttle level upto date for smoother controller handover 2022-03-09 18:21:51 +11:00
Iampete1
4386d748de AC_AttitudeControl: WeatherVane: defualt to 0 gain on plane and early return 2022-03-09 18:02:41 +11:00
Andrew Tridgell
6fcf85edb8 autotest: more changes for plane disarm disallow 2022-03-09 17:13:45 +11:00
Andrew Tridgell
a98e913a2a autotest: flake8 warning fixes 2022-03-09 17:13:45 +11:00
Andrew Tridgell
e6bbd7f548 autotest: adjust for arming change in plane
expect disarm to fail when airmode on
2022-03-09 17:13:45 +11:00
Andrew Tridgell
8ccf84d9a3 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-09 17:13:45 +11:00
Andrew Tridgell
cf8d1473b3 CI: fail cygwin build if we don't get the binaries 2022-03-09 14:08:26 +11:00
Andrew Tridgell
eee2b00d8c AP_Math: fixed build error on cygwin
ensure variables are always initialised
2022-03-09 14:08:26 +11:00
Iampete1
bb1dc2e9a1 AP_Motors: update no motor found warning message 2022-03-09 08:46:55 +09:00
murata
d3b7bbf994 SITL: Change build errors 2022-03-08 14:37:21 -08:00
Andrew Tridgell
693022d344 Tools: add AntennaTracker to builds list
for completeness, and time monitoring
2022-03-08 14:36:42 -08:00
murata
d9ef916a82 Tracker: Change the process for errors 2022-03-08 14:36:19 -08:00
murata
b76d048a5e Blimp: Change the process for errors 2022-03-08 14:36:19 -08:00
murata
e52931c692 Sub: Change the process for errors 2022-03-08 14:36:19 -08:00
murata
ff27fb776d Rover: Change the process for errors 2022-03-08 14:36:19 -08:00
murata
77d898c951 Copter: Change the process for errors 2022-03-08 14:36:19 -08:00
murata,katsutoshi
8037eaf4cf Update ArduCopter/GCS_Mavlink.cpp
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2022-03-08 14:36:19 -08:00
murata
926558a808 Copter: Change the process for errors 2022-03-08 14:36:19 -08:00
Tom Pittenger
42d1ce635b AP_Airspeed: improve description of ARSPD_TUBE_ORDR 2022-03-08 14:34:58 -08:00