Michael du Breuil
17cec7cf2b
AP_Landing: Directly include needed headers
6 years ago
Peter Barker
53f8aa2b92
AP_Landing: correct format string
6 years ago
Leonard Hall
157f786adf
Global: rename desired to target in PID info
6 years ago
Michael du Breuil
f6f432a785
AP_Landing: Fix AP_GPS.h include, use a ref to the singleton
6 years ago
Michael du Breuil
1040ca2d5e
AP_Landing: Fix shadowing with deepstall
...
Was breaking clang 8 builds
6 years ago
Pierre Kancir
8168b3c8e4
AP_Landing: use past_interval_finish_line and line_path_proportion from Location
6 years ago
Pierre Kancir
49be270377
AP_Landing: use get_distance_NE instead of location_diff
6 years ago
Pierre Kancir
0b50f32c32
AP_Landing: use get_distance instead of location_diff
6 years ago
Pierre Kancir
12a357ffd7
AP_Landing: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
288ae80a59
AP_Landing: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago
Michael du Breuil
8e8ce6be35
AP_Landing: Fix unconditional use of airspeed estimate, even when it was invalid
6 years ago
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
6 years ago
Peter Barker
4ec11f608d
AC_Landing: use abs not fabsf for integers
6 years ago
Peter Barker
cdfe8c11d5
AP_Landing: remove pointless includes
6 years ago
Tom Pittenger
1c33c3f50d
AP_Landing: unify singleton naming to _singleton and get_singleton()
6 years ago
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Peter Barker
e8da58201a
AP_Landing: adjust for location flags being moved out of union
6 years ago
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
6 years ago
DOMINATOR\Eugene
4f9c492f78
AP_Landing: yaw correction on landing
6 years ago
Eugene Shamaev
2c8d96145f
AP_Landing: Check deployment of gear
6 years ago
Michael du Breuil
1e699a53f6
AP_Landing: Fix misspelling in deepstall docs
7 years ago
Andrew Tridgell
48e27ab242
AP_Landing: fixed use of double precision maths
...
and rename log() to Log() to prevent name collision with libm function
7 years ago
Peter Barker
a4584431a2
AP_Landing: use GPS singleton
7 years ago
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
7 years ago
Michael du Breuil
012ddbefac
AP_Landing: Support absolute altitude deepstalls
7 years ago
Michael du Breuil
338d745de1
AP_Landing: Implement is_on_approach for deepstall
...
(Fixes a disarm in flight)
7 years ago
Michael du Breuil
2b4cf54797
AP_Landing: Deepstall: Small style fixes
7 years ago
Michael du Breuil
d166832de4
AP_Landing: Deepstall implement log(), reset all integrators
7 years ago
Michael du Breuil
df8049778e
AP_Landing: Support CCW deepstall
7 years ago
Michael du Breuil
0007e5eb80
AP_Landing: Support scaling aileron controls
7 years ago
Lucas De Marchi
c745908b14
AP_Landing: add static create method
7 years ago
Michael du Breuil
eb9dd8c5a2
AP_Landing: Fix an error when computing the course offset for deepstall
7 years ago
Michael du Breuil
40f49733ea
AP_Landing: Support usage for termination
8 years ago
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.
8 years ago
Michael du Breuil
e092a83ca2
AP_Landing: Deepstall: Allow requiring a minimum altitude to abort a landing
8 years ago
Michael du Breuil
202b40562f
Landing: Fix bad deepstall parameter group
8 years ago
Peter Barker
cc150f75c7
AP_Landing: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Michael du Breuil
0b26908359
Landing: Disarm on land for deepstall
8 years ago
Michael du Breuil
3534d0a0eb
AP_Landing: Fix missing doc for LAND_TYPE
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
d1f9633ed2
AP_Landing: Improve the PWM parameters descriptions
8 years ago
Michael du Breuil
26ff1acf55
Landing: Deepstall print travel distances
...
The distances are used for doing log analysis on the prediction numbers.
8 years ago
Michael du Breuil
1e735324d4
AP_Landing: Add MAVLink reporting interface
8 years ago
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
8 years ago
Michael du Breuil
64fb09fb38
AP_Landing: Add an interface to poll if we should be setting fly_forward in AHRS
8 years ago
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.
8 years ago
Michael du Breuil
9c6fc1f122
AP_Landing: Correct deepstall param doc strings
8 years ago
Michael du Breuil
a0cb34db57
AP_Landing: Leverage new nav_controller loiter radius interface
8 years ago
Eugene Shamaev
41fe4d0515
AP_Landing: fix to remove reorder warning
8 years ago
Andrew Tridgell
e7024d9203
AP_Landing: restructure parameters into a structure
8 years ago