Commit Graph

53984 Commits

Author SHA1 Message Date
Andrew Tridgell
1d34ac4e05 Tools: adjust Dalby mission for VTOL_LAND distance 2022-08-02 07:49:34 +10:00
Andrew Tridgell
3201ecd381 Plane: added an arming check for VTOL land too short
this is meant to catch bad mission setup, especially for UGCS, which
planes waypoints right on top of the landing point
2022-08-02 07:49:34 +10:00
Andrew Tridgell
0ededd7c62 AP_AHRS: use wind from simulation if available with EKF type 10 2022-08-02 07:49:34 +10:00
Andrew Tridgell
8cc5172ff3 SITL: fill in wind from flightaxis 2022-08-02 07:49:34 +10:00
Andrew Tridgell
5bdd43457c Plane: in overshoot allow up to the Q WP speed
this prevents us using too much battery when we are a long way from
the landing point
2022-08-02 07:49:34 +10:00
Andrew Tridgell
fa371b92a8 Plane: limit target accel in POSITION1
don't ask for more than 2* transition limit, and reset when we enter
overshoot case
2022-08-02 07:49:34 +10:00
Andrew Tridgell
afd21298d5 Plane: adjust target vector for wind in overshoot
at low speeds we want to keep the nose pointed into the wind on
landings
2022-08-02 07:49:34 +10:00
Andrew Tridgell
a1e7072cb1 Plane: cope with overshoot in POSITION1 VTOL land state
when we overshoot run a simple position controller that tries to point
the nose at the landing point and aims for the position2 speed
threshold
2022-08-02 07:49:34 +10:00
Peter Barker
f57e3668e3 autotest: do no drain mav (i.e. pause sitl) while delaying for sim time 2022-07-29 11:15:59 +10:00
Peter Barker
aeb24d4978 AP_AHRS: remove method casting active EKF type for logging
logging is now done internally
2022-07-29 11:05:19 +10:00
Peter Barker
1c78baac72 autotest: fix Copter PrecisionLoiterCompanion 2022-07-28 21:06:18 +10:00
Peter Barker
35d60d8025 autotest: augment PayLoadPlaceMission test to check drop distance 2022-07-28 21:06:18 +10:00
Peter Barker
f67877655b autotest: tidy payload place test 2022-07-28 21:06:18 +10:00
Iampete1
7683b36e3b SITL: set compass vector after loading defualts 2022-07-28 16:51:33 +10:00
Iampete1
fcab0c70a2 AP_Param: allow init of all Vector3f values to single float 2022-07-28 16:51:33 +10:00
Iampete1
98d9f07507 AP_InertialSensor: defualt accel scale vector to 1.0 2022-07-28 16:51:33 +10:00
Iampete1
cdf930effe AP_Compass: defualt diagonals vector to 1.0 2022-07-28 16:51:33 +10:00
Peter Barker
82bc2a7d85 autotest: adjust Plane EKF check for new configured-backend check 2022-07-28 15:53:13 +10:00
Peter Barker
e89f4ea599 AP_Arming: add prearm check that we are using configured AHRS type 2022-07-28 15:53:13 +10:00
Peter Barker
4909866dd9 AP_AHRS: add prearm check that we are using configured AHRS type 2022-07-28 15:53:13 +10:00
Leonard Hall
1e87b4b09a Copter: Fix Payload Place Bug 2022-07-28 15:24:54 +10:00
Andy Piper
022ae00199 autotest: att attempts to DataFlashErase test 2022-07-28 08:55:01 +10:00
Peter Barker
b7a3038996 Tools: add script to extract features supported by a firmware 2022-07-27 09:23:06 -07:00
Iampete1
e397749946 Tools: build options: add fence 2022-07-27 19:04:56 +10:00
Iampete1
2fc9cf97d4 AC_Fence: defualt to AP_FENCE_ENABLED 2, 1 disables dummy methods 2022-07-27 19:04:56 +10:00
Iampete1
68e29f02a1 Tools: build options: add AC_AVOID 2022-07-27 19:04:56 +10:00
Iampete1
955f1fd1cd Tools: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
9d4d0c10eb Rover: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
cf1e1b2969 ArduSub: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
a592f76282 ArduPlane: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
1b160205ab ArduCopter: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
bab866268f RC_Channel: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
31bc6d9ec4 GCS_MAVLink: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
a9310c3d18 AP_Vehicle: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
ed330fd026 AP_Proximity: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
94004db13f AP_OSD: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
380d174e32 AP_Landing: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
ad59c62899 AP_Frsky_Telem: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
19ccf53fa6 AP_Filesystem: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
58d244d7a3 AP_Arming: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
4b6a0f0b4f AC_Fence: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
5f31818658 AC_Avoidance: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
9dc318f0cc AC_Fence: move to config file and rename from AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1
1342fa4851 AP_Proximity: fix complation without fence 2022-07-27 19:04:56 +10:00
Iampete1
ed356d94cd AC_Avoid: fix complilation with no fence 2022-07-27 19:04:56 +10:00
Iampete1
fa440d532a AC_Fence: add dummy methods 2022-07-27 19:04:56 +10:00
Iampete1
6a6f3ec4e5 AC_Fence: add AC_FENCE define 2022-07-27 19:04:56 +10:00
Iampete1
9e86f4dc43 AP_Vehicle: add AC_Fence 2022-07-27 19:04:56 +10:00
Iampete1
eac067a5c4 Rover: fence moved to vehicle 2022-07-27 19:04:56 +10:00
Iampete1
5d5552aa93 RC_Channel: fix complation without fence 2022-07-27 19:04:56 +10:00