Andrew Tridgell
92197bd5a9
Plane: fixed longitude wrap in verify_nav_wp
...
thanks to @Khancyr
4 years ago
Andrew Tridgell
3bb840f794
Plane: implement slow descent in QRTL approach
...
this approaches in QRTL at ALT_HOLD_RTL alt, then descends to
Q_RTL_ALT close to the destination
4 years ago
Iampete1
e81dc36ed6
Plane: add option do do a VTOL approach RTL
4 years ago
Hwurzburg
d15e01d390
Plane: fix DO_CHANGE_SPEED airspeed to impact only AUTO and GUIDED modes
4 years ago
James O'Shannessy
5dd40afe0a
ArduPlane: Retrigger fence breach if mode
...
ArduPlane: Move auto enabling code to common fence library
4 years ago
James O'Shannessy
8a99d9dd00
ArduPlane: Use auto enable and auto disable from AC_Fence
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
4f7ffc5eb1
Plane: move fence disable code to a function to enable reusability
4 years ago
James O'Shannessy
aae092b88f
ArduPlane: Remove all unused geofence capability
...
ArduPlane: Remove missed geofence logic
4 years ago
James O'Shannessy
17fb585bf1
ArduPlane: Add support for AC_Fence
...
ArduPlane: Remove some geofence logic from ArduPlane
ArduPlane: Refactor action and mode return implementation
ArduPlane: Use polyfence to find the return point.
4 years ago
Peter Barker
95bc9cca79
ArduPlane: use ground_course in preference to ground_course_cd
4 years ago
Andrew Tridgell
cd6ddf7d4f
Plane: fixed disable of geofence on quadplane landing
...
fixes #15917
4 years ago
Andrew Tridgell
52f61c7ac1
Plane: make FENCE_AUTOENABLE an AP_Enum
4 years ago
Andrew Tridgell
e5d580412e
Plane: fixed usage of rangefinder in landing with RNGFND_LANDING=0
...
this fixes two places where rangefinder can affect landing when
RNGFND_LANDING=0
4 years ago
Iampete1
2820228ad6
Plane: only do_change_speed within FBW min and max
4 years ago
Andy Piper
b649afe9e5
Plane: make mount/gimbal inclusion configurable per-board
5 years ago
Tom Pittenger
c7c9461fc0
Plane: update ModeReasons to not use UNKNOWN reason
5 years ago
Michael du Breuil
43526e718e
Plane: Remove the use of RTL_RADIUS from LOITER_UNLIM mission items
5 years ago
Tom Pittenger
0a5021fdcf
Plane: bugfix: never reset auto_state.sink_rate
5 years ago
Tom Pittenger
394fbb1a50
Plane: unified soaring exit behavior: auto heads to next wp, cruise continues cruise heading, FBW to home
5 years ago
Tom Pittenger
ec8f82422a
Plane: move loiter heading init for auto into auto helper, and properly reset it in loiter mode enter
5 years ago
Tom Pittenger
f397c168e8
Plane: refactor loiter heading exit logic
5 years ago
Peter Barker
74dbcac40e
ArduPlane: log disarm method
5 years ago
Michael du Breuil
ee96ec7f0d
Plane: Support new AP_Vehicle::set_mode
5 years ago
Michael du Breuil
562b155f63
Plane: Remove unused geofence enable reason
5 years ago
Andrew Tridgell
6572700baa
Plane: fixed an issue with landing on rising ground
...
when landing on rising ground we don't want to use the terrain look
fwd correction for the flare calculation as otherwise we will flare
too early (and thus too high)
5 years ago
Peter Barker
b12f620233
Plane: fix format string warnings
6 years ago
Peter Barker
400aa53654
Plane: move arming-related functionality into parent classes
...
Logging moves up
arming via mavlink moves up
arming via switch moves up
6 years ago
Pierre Kancir
65b4ba0539
ArduPlane: use past_interval_finish_line and line_path_proportion from Location
6 years ago
Pierre Kancir
d8990a002e
Plane: update locations_are_same to same_latlon_as
6 years ago
Pierre Kancir
3f5999a6ad
ArduPlane: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
58328da5f3
ArduPlane: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
6 years ago
Peter Barker
29258f6752
Plane: rely on AP_Mission to emit GCS text
6 years ago
Peter Barker
a372428ec5
Plane: use sanitize method rather than location_sanitize function
6 years ago
Andrew Tridgell
3907466f9d
Plane: added TKOFF_TIMEOUT parameter
...
this allows for a timeout on auto-takeoff. This can be combined with
other takeoff parameters to allow the user to abort a hand-launch
after the motor has started without GCS interaction.
The 4m/s threshold is a bit arbitrary. We could make that a parameter
in the future if it is needed
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
f430fd14f6
Plane: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
6 years ago
Peter Barker
c24759d3df
Plane: use abs not fabsf for integers
6 years ago
Peter Barker
0858847294
Plane: remove redundant send_ekf_origin
6 years ago
Peter Barker
b6bf8d8368
Plane: make setting of home boolean in preparation for sanity checks
6 years ago
Peter Barker
4f249db8bc
Plane: move responsibility for parachute deployment up
6 years ago
Peter Barker
30671a6743
Plane: move handling of command-int MAV_CMD_DO_SET_HOME up
...
Plane: eliminate set_home shim around AP_AHRS::set_home
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
acafb0f3c1
Plane: adjust for location flags being moved out of union
6 years ago
Michael du Breuil
47dfafd670
Plane: Ensure that the plane is an appropriate distance out before starting the approach
6 years ago
Michael du Breuil
05484c3987
Plane: Support a different landing airspeed for fw quadplane landings
6 years ago
Michael du Breuil
1a45755ffd
Plane: Support a different landing radius for quadplane fw approach
6 years ago
Michael du Breuil
f1154a6e7c
Plane: Pass the mission command around rather then fetching it
6 years ago
Michael du Breuil
8e906e0ba0
Plane: Add support for a loiter to alt approach to VTOL landing
6 years ago
Peter Barker
7890fbeaa1
Plane: let AP_Mission handle common camera commands
6 years ago