Peter Barker
a3aaaf3691
AP_Landing: trim LogStructure base off included code
2023-08-01 10:07:28 +10: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
Peter Barker
a7ab766fda
AP_Landing: enable deepstall landing to be compiled out of the code
2021-07-06 12:38:21 +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
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
Leonard Hall
157f786adf
Global: rename desired to target in PID info
2019-07-25 17:38:15 +09: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
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
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
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
Michael du Breuil
2b4cf54797
AP_Landing: Deepstall: Small style fixes
2017-10-17 14:37:11 -07:00
Michael du Breuil
d166832de4
AP_Landing: Deepstall implement log(), reset all integrators
2017-10-17 14:37:11 -07:00
Michael du Breuil
df8049778e
AP_Landing: Support CCW deepstall
2017-10-17 14:37:11 -07:00
Michael du Breuil
0007e5eb80
AP_Landing: Support scaling aileron controls
2017-10-17 14:37:11 -07:00
Michael du Breuil
eb9dd8c5a2
AP_Landing: Fix an error when computing the course offset for deepstall
2017-09-25 15:34:25 -07:00
Michael du Breuil
40f49733ea
AP_Landing: Support usage for termination
2017-09-13 13:15:08 -07:00
Lucas De Marchi
b37ca322f1
AP_Landing: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
2017-08-22 23:59:13 -07:00
Michael du Breuil
e092a83ca2
AP_Landing: Deepstall: Allow requiring a minimum altitude to abort a landing
2017-07-17 08:43:50 -07:00
Michael du Breuil
202b40562f
Landing: Fix bad deepstall parameter group
2017-07-17 08:43:50 -07:00
Peter Barker
cc150f75c7
AP_Landing: eliminate GCS_MAVLINK::send_statustext_all
2017-07-11 23:53:53 +01:00
Michael du Breuil
0b26908359
Landing: Disarm on land for deepstall
2017-06-19 17:02:23 -07:00
Dr.-Ing. Amilcar Do Carmo Lucas
d1f9633ed2
AP_Landing: Improve the PWM parameters descriptions
2017-06-06 11:06:26 +10:00
Michael du Breuil
26ff1acf55
Landing: Deepstall print travel distances
...
The distances are used for doing log analysis on the prediction numbers.
2017-05-24 15:22:27 -07:00
Michael du Breuil
1e735324d4
AP_Landing: Add MAVLink reporting interface
2017-05-24 15:22:27 -07:00
Dr.-Ing. Amilcar Do Carmo Lucas
2a16c20ce1
AP_Landing: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
2017-05-17 18:07:25 +10:00
Michael du Breuil
64fb09fb38
AP_Landing: Add an interface to poll if we should be setting fly_forward in AHRS
2017-05-15 14:50:29 -07:00
Michael du Breuil
d80aecfd2d
AP_Landing: Deepstall: Recompute approach heading until breakout
...
Also enforces a minimum approach length, which is needed to ensure that the
aircraft doesn't do a 180 degree turn part way through the approach to land
on the target.
2017-05-15 14:50:29 -07:00
Michael du Breuil
9c6fc1f122
AP_Landing: Correct deepstall param doc strings
2017-04-18 18:51:32 -07:00
Michael du Breuil
a0cb34db57
AP_Landing: Leverage new nav_controller loiter radius interface
2017-04-06 08:26:04 +10:00
Andrew Tridgell
e7024d9203
AP_Landing: restructure parameters into a structure
2017-03-02 12:38:59 +11:00
Michael du Breuil
547d06febf
AP_Landing: Add deepstall support
2017-03-02 12:38:59 +11:00