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
Peter Barker
1653b34b2b
Plane: move servorelayevents mission handling into AP_Mission
6 years ago
Peter Barker
dc6a03f5e0
Plane: mission library handles gripper
6 years ago
Michael du Breuil
f9e56f9d12
Plane: Respect frame type on VTOL_TAKEOFF commands
...
allow missioncommands to fail to start
7 years ago
Peter Barker
22306c370b
Plane: factor out a Plane::set_home
7 years ago
Peter Barker
ad600fff68
Plane: split home-set and home-locked state
7 years ago
Peter Barker
1545b9b161
Plane: remove arguments to send_home and send_ekf_origin
7 years ago
Peter Barker
052b76d017
Plane: move Log_Write_Home_And_Origin into AP_AHRS
7 years ago
Przemek Lekston
e5a9ac84e7
[Plane] Fix verify_loiter_heading acceptance criteria.
7 years ago
Peter Barker
7fd859da65
Plane: move home state into AP_AHRS
7 years ago
David Ingraham
a6aeebad4b
Plane: Add support for AP_Gripper
7 years ago
Peter Barker
c5ae01fc6d
Plane: use GPS singleton
7 years ago
Tom Pittenger
7271586a47
Plane: invert auto_state.no_crosstrack flag to be auto_state.crosstrack. Non-functional change
7 years ago
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
7 years ago
Tom Pittenger
8adacfeea3
Plane: always log MODE and include reason when logging is enabled
7 years ago
Randy Mackay
3d7b6ddc40
Plane: support SET_GPS_GLOBAL_ORIGIN message
7 years ago
Peter Barker
2fb46a67dd
Plane: camera is responsible for taking distance-based-images and logging
8 years ago
Peter Barker
1be52495f1
Plane: eliminate global static GCS_MAVLINK::send_home_all
8 years ago
Peter Barker
250f315678
Plane: eliminate gcs_send_mission_item_reached wrapper
8 years ago
Peter Barker
3b0a7703c4
Plane: eliminate gcs_send_message wrapper
8 years ago
Peter Barker
5a8f01c19c
Plane: use send_text method on the GCS singleton
8 years ago
Michael du Breuil
92cdb54176
Plane: Fix a fly away when aborting a landing
...
DO_LAND_START -> LAND waypoints in sequence would cause a perpetual abort state
due to the sticky nature of the abort states. If we restart a landing on
purpose while doing an abort, then we can move onto trying to land again.
8 years ago
Michael du Breuil
649ef0fc16
Plane: Only consider a takeoff as begun if the safety switch has been pressed
8 years ago
Michael du Breuil
9e893eacd1
Plane: Change some user facing statustexts
8 years ago
Tom Pittenger
4ccd59f394
Plane: allow exiting loiter_to_alt in cases where you get stuck
...
- check for scenarios where updrafts can keep you from loitering down indefinitely.
8 years ago
Michael du Breuil
29b16dbafd
Plane: Refactor to request relative altitudes from AHRS
...
Removes the need for plane to do the math for finding the relative height.
Also caches the value at the same time we update current_loc, which is a
non behaviour change as that was the only time you could see a change in
the relative height propegate through the system anyways
8 years ago
Tom Pittenger
9abb0bba7f
Plane: use abs() instead of labs() for int16
8 years ago
Michael du Breuil
2326eee9a0
Plane: Move loiter_radius to vehicle
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
Tom Pittenger
b570c11e26
AP_Landing: allow separate handling for verify_land() vs verify_abort()
8 years ago
Tom Pittenger
9a250c3bf4
Plane: clarify some variable names and protect against divide-by-zero
8 years ago
Eugene Shamaev
ac2880db7c
Plane: waypoint logic change for overflow/underflow
8 years ago
Tom Pittenger
83f0a8114b
Plane: use a common reset for uniform landing wipe
8 years ago
Tom Pittenger
b299b9c0bb
Plane: abstract out init_start_nav_cnd work to landing lib
...
This reverts commit 1380a35f70
.
8 years ago
Andrew Tridgell
1380a35f70
Revert "Plane: abstract out init_start_nav_cnd work to landing lib"
...
This reverts commit e2288d5262
.
doesn't build
8 years ago