Tom Pittenger
394fbb1a50
Plane: unified soaring exit behavior: auto heads to next wp, cruise continues cruise heading, FBW to home
2020-04-08 09:11:54 +10:00
Tom Pittenger
ec8f82422a
Plane: move loiter heading init for auto into auto helper, and properly reset it in loiter mode enter
2020-04-08 09:11:54 +10:00
Tom Pittenger
f397c168e8
Plane: refactor loiter heading exit logic
2020-04-08 09:11:54 +10:00
Peter Barker
74dbcac40e
ArduPlane: log disarm method
2020-02-22 12:16:29 +11:00
Michael du Breuil
ee96ec7f0d
Plane: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08:00
Michael du Breuil
562b155f63
Plane: Remove unused geofence enable reason
2019-09-23 17:31:33 -06:00
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)
2019-09-16 12:52:00 +10:00
Peter Barker
b12f620233
Plane: fix format string warnings
2019-09-02 21:00:59 +10:00
Peter Barker
400aa53654
Plane: move arming-related functionality into parent classes
...
Logging moves up
arming via mavlink moves up
arming via switch moves up
2019-05-30 07:37:30 +09:00
Pierre Kancir
65b4ba0539
ArduPlane: use past_interval_finish_line and line_path_proportion from Location
2019-04-23 09:20:43 +10:00
Pierre Kancir
d8990a002e
Plane: update locations_are_same to same_latlon_as
2019-04-08 08:05:05 -07:00
Pierre Kancir
3f5999a6ad
ArduPlane: move location_update to Location and rename to offset_bearing
2019-04-06 09:10:28 +11:00
Pierre Kancir
58328da5f3
ArduPlane: move get_bearing_cd to Location and rename to get_bearing_to
2019-04-06 09:10:28 +11:00
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
2019-04-02 16:28:52 +11:00
Peter Barker
29258f6752
Plane: rely on AP_Mission to emit GCS text
2019-04-02 11:07:58 +11:00
Peter Barker
a372428ec5
Plane: use sanitize method rather than location_sanitize function
2019-04-02 10:19:38 +11:00
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
2019-03-18 14:48:08 +11:00
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
2019-02-28 11:44:09 +11:00
Peter Barker
c24759d3df
Plane: use abs not fabsf for integers
2019-02-20 19:23:54 +11:00
Peter Barker
0858847294
Plane: remove redundant send_ekf_origin
2019-02-15 08:28:45 +11:00
Peter Barker
b6bf8d8368
Plane: make setting of home boolean in preparation for sanity checks
2019-02-15 08:28:45 +11:00
Peter Barker
4f249db8bc
Plane: move responsibility for parachute deployment up
2019-02-13 09:25:27 +09:00
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
2019-02-13 09:42:26 +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
acafb0f3c1
Plane: adjust for location flags being moved out of union
2019-01-16 11:45:29 +11:00
Michael du Breuil
47dfafd670
Plane: Ensure that the plane is an appropriate distance out before starting the approach
2018-12-18 10:11:22 +11:00
Michael du Breuil
05484c3987
Plane: Support a different landing airspeed for fw quadplane landings
2018-12-18 10:11:22 +11:00
Michael du Breuil
1a45755ffd
Plane: Support a different landing radius for quadplane fw approach
2018-12-18 10:11:22 +11:00
Michael du Breuil
f1154a6e7c
Plane: Pass the mission command around rather then fetching it
2018-12-18 10:11:22 +11:00
Michael du Breuil
8e906e0ba0
Plane: Add support for a loiter to alt approach to VTOL landing
2018-11-10 18:58:54 +11:00
Peter Barker
7890fbeaa1
Plane: let AP_Mission handle common camera commands
2018-10-30 15:37:18 +11:00
Peter Barker
1653b34b2b
Plane: move servorelayevents mission handling into AP_Mission
2018-10-30 15:37:18 +11:00
Peter Barker
dc6a03f5e0
Plane: mission library handles gripper
2018-10-30 15:37:18 +11:00
Michael du Breuil
f9e56f9d12
Plane: Respect frame type on VTOL_TAKEOFF commands
...
allow missioncommands to fail to start
2018-09-11 06:42:00 +10:00
Peter Barker
22306c370b
Plane: factor out a Plane::set_home
2018-05-29 14:38:45 +10:00
Peter Barker
ad600fff68
Plane: split home-set and home-locked state
2018-05-29 14:38:45 +10:00
Peter Barker
1545b9b161
Plane: remove arguments to send_home and send_ekf_origin
2018-05-17 20:42:36 +10:00
Peter Barker
052b76d017
Plane: move Log_Write_Home_And_Origin into AP_AHRS
2018-05-17 10:13:42 +10:00
Przemek Lekston
e5a9ac84e7
[Plane] Fix verify_loiter_heading acceptance criteria.
2018-03-20 10:25:35 -07:00
Peter Barker
7fd859da65
Plane: move home state into AP_AHRS
2018-03-19 10:32:37 +09:00
David Ingraham
a6aeebad4b
Plane: Add support for AP_Gripper
2018-03-01 14:14:43 +11:00
Peter Barker
c5ae01fc6d
Plane: use GPS singleton
2017-12-27 00:58:02 +00:00
Tom Pittenger
7271586a47
Plane: invert auto_state.no_crosstrack flag to be auto_state.crosstrack. Non-functional change
2017-11-23 09:25:18 -08:00
Andrew Tridgell
af893ddde7
Plane: implement Q_OPTIONS
...
this allows for NAV_TAKEOFF to be treated as NAV_VTOL_TAKEOFF in
quadplanes, and for level flight to be maintained during quadplane
transitions
2017-10-30 16:30:10 +11:00
Tom Pittenger
8adacfeea3
Plane: always log MODE and include reason when logging is enabled
2017-10-25 21:18:29 +11:00
Randy Mackay
3d7b6ddc40
Plane: support SET_GPS_GLOBAL_ORIGIN message
2017-09-19 10:30:15 +09:00
Peter Barker
2fb46a67dd
Plane: camera is responsible for taking distance-based-images and logging
2017-07-28 14:27:53 +01:00
Peter Barker
1be52495f1
Plane: eliminate global static GCS_MAVLINK::send_home_all
2017-07-11 23:48:39 +01:00
Peter Barker
250f315678
Plane: eliminate gcs_send_mission_item_reached wrapper
2017-07-11 23:45:16 +01:00