Commit Graph

116 Commits

Author SHA1 Message Date
Henry Wurzburg 50591d1adf AP_Landing: change logging to be designated as streaming 2022-08-05 10:16:18 +10:00
Iampete1 380d174e32 AP_Landing: change AC_FENCE to AP_FENCE_ENABLED 2022-07-27 19:04:56 +10:00
Iampete1 3942ee0811 AP_Landing: fix complation without fence 2022-07-27 19:04:56 +10:00
Tom Pittenger 28ab8ef316 AP_Landing: change LAND_ABORT_THR param docs to match code and wiki of 90% 2022-07-25 12:45:50 -07:00
Ruffalo-sunghwan 3f1779a5a1 AP_Landing : correct comment spelling 2022-05-24 20:27:45 +09:00
Peter Barker 8ec0eed749 AP_Landing: stop libraries including AP_Logger.h in .h files
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h

This necessitated moving The PID_Info structure out of AP_Logger's
namespace.  This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!

There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Peter Barker 6b1e20916b AP_Landing: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Iampete1 1c195d01b8 AP_Landing: remove SpdHgt and use TECS direct 2021-11-13 08:05:39 +11:00
Samuel Tabor 266fbabb6f AP_Landing: Fix slope calculation. 2021-11-10 06:55:14 +11:00
Iampete1 2bad7734db AP_landing: hide deepstall params with enable flag 2021-08-24 09:38:46 +10:00
Samuel Tabor 27f0320452 AP_Landing_Slope: Log height used for flare timing. 2021-08-19 17:59:33 +10:00
Hwurzburg 207de0ed4d AP_Landing: remove DeepStall from 1MB boards 2021-07-26 16:19:12 +10:00
Peter Barker a7ab766fda AP_Landing: enable deepstall landing to be compiled out of the code 2021-07-06 12:38:21 +10:00
vierfuffzig b922181f63 AP_Landing: fix advanced param metadata 2021-05-25 12:36:59 +10:00
James O'Shannessy 26811ad46d AP_Landing: Autoenable fence if required when landing was aborted 2021-03-05 14:52:46 +11:00
Peter Barker ffb87e68c5 AP_Landing: replace '@User: User' with '@User: Standard' 2020-09-22 14:56:04 +10:00
Andrew Tridgell d9d53d380d AP_Landing: implement continue after land for fixed wing landings
this makes touch and go missions possible
2020-06-02 09:12:22 +09:00
Buzz d4df145b4b ArduPlane: option to keep landing throttle at thr_min during flare and touchdown, not zero. 2020-05-20 11:29:45 +10:00
Buzz dc3db0476b AP_Landing: option to keep landing throttle at thr_min during flare and touchdown, not zero. 2020-05-20 11:29:45 +10:00
Leonardo Mariga 0f92cb9168 AP_Landing: Description of APP_EXT and unit of L1 fixed 2020-04-28 09:59:12 +10:00
Peter Barker d23d4768f1 AP_Landing: add LAND log message documentation 2020-04-12 08:36:48 +10:00
Peter Barker 7f64c6159d AP_Landing_Deepstall: correct missing parameter docs 2020-02-18 13:28:03 +11:00
Peter Hall d16de83e3f AP_Landing: move to airspeed_estimate with pointer 2020-01-14 22:34:37 -07:00
Michael du Breuil 17cec7cf2b AP_Landing: Directly include needed headers 2019-08-28 13:13:03 +10:00
Peter Barker 53f8aa2b92 AP_Landing: correct format string 2019-08-16 13:47:39 +10:00
Leonard Hall 157f786adf Global: rename desired to target in PID info 2019-07-25 17:38:15 +09:00
Michael du Breuil f6f432a785 AP_Landing: Fix AP_GPS.h include, use a ref to the singleton 2019-06-18 10:02:05 +10:00
Michael du Breuil 1040ca2d5e AP_Landing: Fix shadowing with deepstall
Was breaking clang 8 builds
2019-05-13 15:46:38 +10:00
Pierre Kancir 8168b3c8e4 AP_Landing: use past_interval_finish_line and line_path_proportion from Location 2019-04-23 09:20:43 +10:00
Pierre Kancir 49be270377 AP_Landing: use get_distance_NE instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir 0b50f32c32 AP_Landing: use get_distance instead of location_diff 2019-04-08 08:00:52 -07:00
Pierre Kancir 12a357ffd7 AP_Landing: move location_update to Location and rename to offset_bearing 2019-04-06 09:10:28 +11:00
Pierre Kancir 288ae80a59 AP_Landing: move get_bearing_cd to Location and rename to get_bearing_to 2019-04-06 09:10:28 +11:00
Michael du Breuil 8e8ce6be35 AP_Landing: Fix unconditional use of airspeed estimate, even when it was invalid 2019-03-19 11:42:54 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 003a346ee2 AP_Landing: replace location_offset() and get_distance() function calls with Location object member function calls
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Peter Barker 4ec11f608d AC_Landing: use abs not fabsf for integers 2019-02-20 19:23:54 +11:00
Peter Barker cdfe8c11d5 AP_Landing: remove pointless includes 2019-02-19 09:16:26 +11:00
Tom Pittenger 1c33c3f50d AP_Landing: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker e8da58201a AP_Landing: adjust for location flags being moved out of union 2019-01-16 11:45:29 +11:00
Andrew Tridgell 9285e9df20 Revert "AP_Landing: yaw correction on landing"
This reverts commit 4f9c492f78.

That commit was causing the landing issue here:

https://github.com/ArduPilot/ardupilot/issues/9993

reverting until we find the correct fix
2018-12-12 15:51:37 +11:00
DOMINATOR\Eugene 4f9c492f78 AP_Landing: yaw correction on landing 2018-11-18 13:40:15 -08:00
Eugene Shamaev 2c8d96145f AP_Landing: Check deployment of gear 2018-11-17 20:31:01 -08:00
Michael du Breuil 1e699a53f6 AP_Landing: Fix misspelling in deepstall docs 2018-08-01 09:24:26 +10:00
Andrew Tridgell 48e27ab242 AP_Landing: fixed use of double precision maths
and rename log() to Log() to prevent name collision with libm function
2018-05-07 11:43:23 +10:00
Peter Barker a4584431a2 AP_Landing: use GPS singleton 2017-12-27 00:58:02 +00:00
Andrew Tridgell 645508224f AP_Landing: removed create() method for objects
See discussion here:

  https://github.com/ArduPilot/ardupilot/issues/7331

we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach

Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Michael du Breuil 012ddbefac AP_Landing: Support absolute altitude deepstalls 2017-11-19 16:48:17 +01:00
Michael du Breuil 338d745de1 AP_Landing: Implement is_on_approach for deepstall
(Fixes a disarm in flight)
2017-11-04 10:07:16 +11:00