Peter Barker
378015691b
Plane: stop appending lf to PERF message
8 years ago
Andrew Tridgell
351304ebcb
Plane: don't set fly-forward when transitioning
...
when quad motors are providing assistance don't see the fly-forward
flag in the AHRS. This will lower the chance of EKF yaw confusion
8 years ago
Andrew Tridgell
954905e0eb
Plane: allow battery failsafe with usb connected
...
some people connect USB to allow connections from a companion
computer. The arming check is sufficient to prevent unwanted battery
failsafes when bench testing
8 years ago
Andrew Tridgell
516bf26719
Plane: fixed QRTL change when coming from loiter
...
the nav controller can think we have already reached the loiter target
if we were last in a LOITER when we switch to RTL. In that case it
would switch to QRTL immediately
found by Leonard (thanks!)
8 years ago
Eugene Shamaev
ca84ab36be
Plane: AOA and SSA estimations are added to parameters and data logs
8 years ago
Andrew Tridgell
17ba8b3304
Plane: raise logging rate for PID and servos
8 years ago
Andrey Kolobov
35d406aeab
Plane: added a soaring controller to Arduplane
8 years ago
Michael du Breuil
1bb806edb2
Plane: Use new landing interfaces
8 years ago
Andrew Tridgell
3bb25eb194
Plane: added Q_TAILSIT_INPUT
...
this allows the user to control tailsitters either in body frame (like
a plane) or in earth frame (like a multicopter). This is useful for
people wanting to learn to fly prop-hang on 3D planes
8 years ago
Andrew Tridgell
c787f4c56f
Plane: initial support for tailsitter transitions
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
1a34221db9
Plane: remove old commented code
...
- leftover from the AP_Landing stage refactor
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
Tom Pittenger
61bc0a6206
Plane: check stage==LAND instead of landing.in_progress
8 years ago
Michael du Breuil
3e66dd10d7
Plane: Move landing stages inside AP_Landing and refactor
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
Randy Mackay
fc4741395d
Plane: notify initialised after parameters loaded
8 years ago
Andrew Tridgell
081909bf6a
Plane: removed use of pwm_to_angle()
8 years ago
Andrew Tridgell
b83f50be0f
Plane: use new SRV_Channels API
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
04f32b6ec6
Plane: simplify flight stage landing check to use landing.in_progress
8 years ago
Tom Pittenger
84e11fd899
Plane, AP_TECS: do not pass auto_land flag to TECS, it already knows it
8 years ago
Tom Pittenger
c286ceba43
Plane: move enum FlightStages to AP_Vehicle::FixedWing
8 years ago
Tom Pittenger
b7b56b94a3
Plane: convert landing.complete to landing.is_complete()
8 years ago
Tom Pittenger
4b683edac9
Plane: simplified logic where landing complete overrides the calc value
8 years ago
Tom Pittenger
83f0a8114b
Plane: use a common reset for uniform landing wipe
8 years ago
Tom Pittenger
8c1509ad47
Plane: abstract land abort request method
8 years ago
Randy Mackay
c3b6fd4315
Plane: fix suppressing comment for case fall through
...
No functional change
eclipse stops complaining if no-break is used in place of fall-through
8 years ago
Tom Pittenger
a3ccca17ff
Plane: use fabsf instead of fabs
8 years ago
Peter Barker
669dc01b67
Plane: correct on_flight_line landing stage check
8 years ago
Tom Pittenger
9dd46aa03a
Plane: post msg if aborting via throttle
...
fixes https://github.com/ArduPilot/ardupilot/issues/4906
8 years ago
Peter Barker
17f5ef4610
Plane: inform dataflash of vehicle arm state
8 years ago
Tom Pittenger
dc85ffa834
Plane: move jump_to_landing_sequence() to AP_Mission
8 years ago
Tom Pittenger
ac1dced3bf
Plane: set landing params as private and use accessors
8 years ago
Tom Pittenger
e919afad1e
Plane: update comment and remove redundant work
...
- update_flight_stage is already called within restart_landing_sequence()
8 years ago
Tom Pittenger
fc2f518f31
Plane: revert auto_state.checked_for_autoland back to Plane
8 years ago
Tom Pittenger
9a79b79f1e
AP_Landing: port more from plane
8 years ago
Tom Pittenger
5dbb2d4c2a
Plane: move two functions out of landing.cpp
...
- these two functions will be hard to port to AP_Landing due to complex dependancies so we'll defer them by moving them ArduPlane.cpp
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
896b931a7c
Plane: Move auto_state variables to AP_landing members
8 years ago
floaledm
bae9ce20c1
Plane: update sensor status error flags independently of sending a sys_status message
8 years ago
murata
ab99ea54eb
Plane: To nullptr from NULL.
8 years ago
Peter Barker
98ae6c776a
Plane: support for AP_Stats (flight time, bootcount, runtime)
8 years ago
Andrew Tridgell
b65c559558
Plane: updates for EKF API changes
8 years ago
priseborough
72db2ebd81
Plane: Add compensation for optical flow sensor body position offset
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Ferrin Benjamin Katz
38581669ec
Plane: slow down home update
...
Moved the code theat updates the home position while the aircraft is
unarmed from 10hz loop to one second loop and ensured that is does not
update more then once every 5 seconds. Closes issue 4311.
8 years ago
murata
2f18d1de73
Plane: To add a judgment of 0 degrees longitude.
8 years ago