Michael du Breuil
f6f432a785
AP_Landing: Fix AP_GPS.h include, use a ref to the singleton
6 years ago
Pierre Kancir
8168b3c8e4
AP_Landing: use past_interval_finish_line and line_path_proportion from Location
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
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
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
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
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
Peter Barker
cc150f75c7
AP_Landing: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Michael du Breuil
c10fe2e7a4
AP_Landing: Add more interfaces from vehicle code
...
Fixs up some documentation about expected return values
8 years ago
Lucas De Marchi
8b0c427802
AP_Landing: add double casts to printf-like function
8 years ago
Tom Pittenger
da48b24a5c
AP_Landing: add logging as new "LAND" field
8 years ago
Tom Pittenger
644f75942b
AP_Landing: refactor bool variables into flag stucts
8 years ago
Tom Pittenger
bdafc2c025
AP_Landing: re/move complete flag into backend
...
the complete flag was only ever true during FLIGHT_LAND_FINAL so we just check for that now instead
8 years ago
Michael du Breuil
4cf1c74c62
AP_Landing + Plane: Check for land complete before requesting disarm
8 years ago
Tom Pittenger
2ccd91d88f
AP_Landing: rename stage enum
8 years ago
Tom Pittenger
650e694eb1
Plane: move landing.reset to landing.do_land()
8 years ago
Michael du Breuil
3e66dd10d7
Plane: Move landing stages inside AP_Landing and refactor
8 years ago
Michael du Breuil
e9ec1d3a30
AP_Landing: Internalize the flight mode slope stages
8 years ago
Tom Pittenger
b570c11e26
AP_Landing: allow separate handling for verify_land() vs verify_abort()
8 years ago
Tom Pittenger
6c0296ba13
AP_Landing: shadow copy of plane flight_stage into landing
...
.. and describe stages without using specific stage name
8 years ago
Tom Pittenger
063f517424
Plane, TECS, AP_Landing: rename stage LAND_ABORT to ABORT_LAND
...
this will reduce confusion when searching for FLIGHT_LAND_* and you get a bunch of takeoff related hits. It will also make more sense when the landing library fully manages the FLIGHT_LAND stage entirely because it will not mange FLIGHT_LAND_ABORT
8 years ago
Tom Pittenger
502768c979
AP_Landing: move enum FlightStages to AP_Vehicle::FixedWing
8 years ago
Tom Pittenger
f09007cbe9
AP_Landing: use a common reset for uniform landing wipe
8 years ago
Tom Pittenger
e061e1734c
AP_Landing: abstract land abort request method
8 years ago
Tom Pittenger
03b5523b43
AP_Landing: abstract out init_start_nav_cnd work to landing lib
...
This reverts commit 3e89580383
and fixes it
8 years ago
Andrew Tridgell
3e89580383
Revert "AP_Landing: abstract out init_start_nav_cnd work to landing lib"
...
This reverts commit 8d8775125a
.
doesn't build
8 years ago
Tom Pittenger
8d8775125a
AP_Landing: abstract out init_start_nav_cnd work to landing lib
8 years ago
Tom Pittenger
608da33d80
AP_Landing: merged GCS text for aborted landing
8 years ago
Tom Pittenger
1a70e2f353
AP_Landing: new param LAND_TYPE to split current behavior into AP_Landing_Slope.cpp
8 years ago
Tom Pittenger
98ae77d6a3
AP_Landing: Migrate the rest of "LAND_" params from Plane to AP_Landing
8 years ago
Tom Pittenger
d53b177877
AP_Landing: migrate aparm "LAND_" params from plane to AP_Landing
8 years ago
Tom Pittenger
8f36fe7705
AP_Landing: migrate aparm "LAND_" params from plane to AP_Landing
8 years ago
Tom Pittenger
fc84c61672
AP_Landing: add const to all possible vars in function calls
8 years ago
Tom Pittenger
3814b5a38b
AP_Landing: resorted functions so they line up with plane/landing for easier compare
8 years ago
Tom Pittenger
75e625fd30
AP_landing: port the rest of plane/landing.cpp
8 years ago
Tom Pittenger
9a79b79f1e
AP_Landing: port more from plane
8 years ago
Tom Pittenger
10027b21d6
Plane/AP_Landing: port setup_landing_glide_slope()
8 years ago
Tom Pittenger
d2376b7c8b
Plane: migrate two helper functions to AP_Landing
...
- move functions restart_landing_sequence() and jump_to_landing_sequence() to AP_Landing
- NOTE: jump_to function can not set mode, so it is now done externally in vehicle
8 years ago
Tom Pittenger
61b02cb41d
AP_Landing: add new library for fixed wing landing abstraction
8 years ago
Lucas De Marchi
09d926fa11
AP_Notify: replace header guard with pragma once
9 years ago
Staroselskii Georgii
d40011acf3
AP_Notify: added abstract Led and RGBLed classes
10 years ago
Andrew Tridgell
dc97a8eff7
AP_ADC: fixed license text
...
we are on GPLv3 now
12 years ago
uncrustify
7b41104d7e
uncrustify libraries/AP_ADC/AP_ADC.cpp
13 years ago
Andrew Tridgell
f375258699
fixed inconsistent linefeeds in ADC code
...
the linefeeds had bacome inconsistent in this library, making some
editors fail to load the code
14 years ago