Andrew Tridgell
48ae2f2de0
Plane: changed default THR_MAX to 100
...
we have left it at 75 for far too long
8 years ago
Andrew Tridgell
6a90257d2a
Plane: fixed attitude logging for tailsitters
8 years ago
Andrew Tridgell
c76eadf4f6
Plane: add available memory to PM message
8 years ago
Andrew Tridgell
5d06e4238f
Plane: make the quadplane motors var_info dynamic
...
this will allow for more quadplane motors class types
8 years ago
Michael du Breuil
649ef0fc16
Plane: Only consider a takeoff as begun if the safety switch has been pressed
8 years ago
Andrew Tridgell
af97a3974b
Plane: initialise target height correctly on quadplane transition
...
this fixes a bug where a plane in QSTABILIZE would drop suddenly if
switched to FBWA when the target altitude had not been initialised
8 years ago
Andrew Tridgell
bb158a437e
Plane: handle bad Q_FRAME_CLASS
...
default to quad with a warning. This prevents users getting stuck
without being able to set Q_ENABLE=1
thanks to Leonard for noticing
8 years ago
Andrew Tridgell
e3a8d477f5
Plane: improve tiltrotor transition strategy
...
avoid running forward motors at high throttle when transitioning to a
VTOL mode
8 years ago
Andrew Tridgell
3f7e7d456f
Plane: in fixed wing mode slave quadplane attitude rate controller
...
For quadplanes this uses the attitude controller from fixed wing
when using the multicopter controller to assist fixed wing
flight. This prevents a rate mismatch between the two controller
leading to oscillation
8 years ago
Andrew Tridgell
2db8589f49
Plane: smarter Z controller initialisation for quadplanes
...
this is more generic than the previous one used only for the full
position controller
8 years ago
Andrew Tridgell
dd4f56dd98
Plane: added PIQ messages for quadplane PIDs
...
keep them separate from fixed wing PIDs, so we can watch the
interaction between the PIDs in transitions
8 years ago
Andrew Tridgell
0e175179a6
Plane: log home and origin on logging start
8 years ago
Andrey Kolobov
35d406aeab
Plane: added a soaring controller to Arduplane
8 years ago
Michael du Breuil
9e893eacd1
Plane: Change some user facing statustexts
8 years ago
Michael du Breuil
041fe38ba6
Plane: Update build tools for deepstall PID dependency
8 years ago
Michael du Breuil
cf10b7b841
Plane: Add support for landing PID's and servo control
8 years ago
Michael du Breuil
1bb806edb2
Plane: Use new landing interfaces
8 years ago
Andrew Tridgell
abcc75009d
Plane: move relay init earlier
...
allows relay pins to be used as pullups for other sensors (such as
LidarLiteV3)
8 years ago
Randy Mackay
eb746eaeef
Plane: fix SYSID_ENFORCE parameter description
8 years ago
Michael du Breuil
fbf6050876
Plane: Reset home to AHRS position rather then snapshotting GPS
8 years ago
Randy Mackay
c0f155fd27
Plane: use only downward facing rangefinder
8 years ago
Andrew Tridgell
4ff5bf5af5
Plane: zero integrators and set throttle mix
...
this zeros fixed wing integrators during TRANSITION_AIRSPEED_WAIT and
uses a zero throttle mix during TRANSITION_TIMER. This should allow
the fixed wing controller more time to adapt to forward flight
8 years ago
Andrew Tridgell
c061d5615b
Plane: added manual input mask for tailsitter prop-hang
...
This adds new parameters Q_TAILSIT_MASK and Q_TAILSIT_MASKCH. These
parameters allow a user to use the tailsitter capabilities of a 3D
plane to teach themselves to prop-hang.
It works by allowing the user to setup a switch on their transmitter
to enable manual pass-thru of a set of the input channels to outputs
when in tailsitter hover. The user can then use that switch to allow
learning of hover control in a 3D plane one channel (or two channels)
at a time.
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
ea5186340b
Plane: added Q_TILT_RATE_UP and Q_TILT_RATE_DN as separate parameters
...
allow control of tilt rate separately for UP and DOWN
always allow at least 90 degrees/second for switching to MANUAL
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
Andrew Tridgell
a4c5247fba
Plane: prepare 3.8.0-beta3
...
key fix is the servo slew rate bug
8 years ago
Tom Pittenger
69a10042eb
Plane: always stream RPM data over mavlink when enabled
8 years ago
Tom Pittenger
67486dc3f0
Plane: always log RPM when enabled
8 years ago
Peter Barker
97145f20fc
Plane: fix startup of CLI menu system
8 years ago
Andrew Tridgell
07ab04897d
Plane: reset roll/pitch integrators while tailsitter active
...
this prevents integrator buildup while flying in hover
8 years ago
Andrew Tridgell
b3380ecfa7
Plane: support twin-engine planes
...
with differential thrust for yaw
8 years ago
Andrew Tridgell
e8b11924f8
Plane: split out the tailsitter transition complete code
...
use both roll and pitch to trigger completion of transition. This
copes with situations where the plane has managed to get itself rolled
over far enough that it can't recover into hover
8 years ago
Andrew Tridgell
d5a3f844f1
Plane: changes for AC_WPNav
8 years ago
Andrew Tridgell
c787f4c56f
Plane: initial support for tailsitter transitions
8 years ago
Andrew Tridgell
83f3cee99e
Plane: initial hooks for tailsitter support
8 years ago
Andrew Tridgell
4e4f5a7ac9
Plane: allow tailsitters to takeoff with any attitude
8 years ago
Andrew Tridgell
0fc04b0158
Plane: setup plane frame type parameter flags
8 years ago
Andrew Tridgell
c294519925
Plane: lower default Q_M_SPOOL_TIME to 0.25
8 years ago
Peter Barker
1d7994e9ba
Plane: create GCS_Plane subclass
8 years ago
Peter Barker
98c4b48161
Plane: not in log download upon log erase
...
erase is a synchronous operation
8 years ago
Peter Barker
49bf336539
Plane: Support for a GCS singleton
8 years ago
Peter Barker
d060670ba3
Plane: rename gcs[] to gcs_chan[]
...
Wish to use gcs() to return the gcs singleton
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
Michael du Breuil
f183a2618f
Plane: Don't lock home altitude to AHRS origin
8 years ago
Michael du Breuil
7a1cbf76d3
Plane: Remove ALT_MIX
...
Closes #4998 , and fix a tab/spaces error on the previous parameter
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
c4419739c4
Plane: rename MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW to better describe what it is
8 years ago
Andrew Tridgell
90d9e74054
Plane: fixed parameter path
8 years ago
Andrew Tridgell
287614b415
Plane: fixed auto-takeoff throttle trigger for inverted launch
...
quite an unusual setup, but has been done :-)
8 years ago
Tom Pittenger
9abb0bba7f
Plane: use abs() instead of labs() for int16
8 years ago