Commit Graph

2758 Commits

Author SHA1 Message Date
Andrew Tridgell ce5903f758 Plane: fixed MANUAL_RCMASK
ensure it only applies in MANUAL, and fixed input scaling in px4io
2017-09-19 16:59:16 +10:00
Andrew Tridgell 6e78d2af5a Plane: allow takeoff in guided then fw loiter
this allows for quadplane takeoff in GUIDED with Q_GUIDED_MODE=0. The
takeoff will be VTOL, but subsequent guided points will be fixed wing
2017-09-18 10:26:33 +10:00
Andrew Tridgell f829f5615b Plane: prepare for 3.8.2 release 2017-09-11 09:56:12 +10:00
Andrew Tridgell 1d22b7f5d7 Plane: update release notes for 3.8.2 2017-09-11 09:55:41 +10:00
Andrew Tridgell 31af23cab6 Plane: added MANUAL_CONTROL support
allows for joystick with QGC
2017-09-11 07:56:15 +10:00
Andrew Tridgell fd07a82c8f Plane: prepare for 3.8.2beta1 2017-09-09 08:28:01 +10:00
Andrew Tridgell 3576e38858 Plane: allow changing of target altitude in GUIDED 2017-09-09 08:15:59 +10:00
Andrew Tridgell 428233c8b4 Plane: limit pitch in transition to QLOITER and QLAND
when switching to QLOITER or QLAND when in forward flight, limit the
maximum pitch to prevent a sudden decelleration
2017-09-08 17:56:48 +10:00
Andrew Tridgell 2e5c36361e Plane: smooth the transition to LAND_FINAL in quadplanes
this makes for a much smoother change to LAND_FINAL, without a jerk as
it changes vertical speed
2017-09-08 16:43:32 +10:00
Andrew Tridgell 5ab3265ee6 Plane: fixed a problem with descent rate in landings for quadplanes
use xy controller instead of xyz controller, which prevents calling z
controller twice, which led to poor height control
2017-09-08 15:59:15 +10:00
Andrew Tridgell 3e4d50f026 Plane: added GUIDED takeoff for quadplanes
this allows takeoff in GUIDED mode in the same way as copters
2017-09-07 10:59:55 +10:00
Andrew Tridgell 5634f19114 Plane: adjust target altitude slowly in QRTL mode
this fixes a sudden throttle drop when starting the descent in QRTL mode
thanks to Marco for finding this issue
2017-09-07 07:22:54 +10:00
Andrew Tridgell d8b8b1ee33 Plane: prepare for 3.8.1 release 2017-09-03 15:33:25 +10:00
Andrew Tridgell 427c046145 Plane: prepare for 3.8.1beta1 2017-08-29 07:22:38 +10:00
Andrew Tridgell fdc6a30a35 Plane: fixed minacc and delay for launch
See
https://discuss.ardupilot.org/t/tkoff-thr-minacc-and-tkoff-thr-delay-doesnt-work-together/19928
2017-08-28 17:55:50 +10:00
Andrew Tridgell 1b6d20db7f Plane: removed TRIM_RC_AT_START parameter
this option caused a lot more problems than it solved, and is buggy
2017-08-26 20:16:09 +10:00
Andrew Tridgell 775b60f9a9 Plane: fixed bug in TRIM_AUTO
fixed trim for differential spoilers
2017-08-26 20:16:00 +10:00
Andrew Tridgell d08fcf25f2 Plane: updated release notes 2017-08-10 15:59:44 +10:00
Andrew Tridgell e66f30eb90 Plane: prepare for plane 3.8.0 release 2017-08-05 16:38:21 +10:00
Andrew Tridgell 186a1f4a0b Plane: cope better with more RC trim/min/max values
when min > trim we need to do RC scaling via rc_config. This loses the
ability to go beyond RC limits, but that can be coped with using
MANUAL_RCMASK
2017-08-02 12:49:13 +10:00
Andrew Tridgell c20ea87ef8 Plane: fixes from review
thanks Francisco
2017-08-02 12:49:13 +10:00
Andrew Tridgell 76818c1ff4 Plane: improve px4_mixer handling of servo trim/min/max 2017-08-02 12:49:13 +10:00
Andrew Tridgell bf6853d3fe Plane: implement MANUAL_RCMASK
this replaces the functionality of the old "with input"
aileron/elevator functions, but in a much more flexible way. It means
that people who want to fly in MANAUL mode will have the ability to
have full control of trims and mixing using transmitter mixers if they
need that functionality
2017-08-02 12:49:13 +10:00
Andrew Tridgell 0ebc7b5122 Plane: added AETR log message
this makes debugging mixers much easier
2017-08-02 12:49:12 +10:00
Andrew Tridgell 4600f623db Plane: fixed px4_mixer for new function based mixing
this fixes the OVERRIDE_CHAN functionality to work correctly with the
new function based mixing code

It isn't a perfect match for ArduPilot mixing, but it is very close
for the key control surfaces, including mixed surfaces
2017-08-02 12:49:12 +10:00
Andrew Tridgell 7c888f4a12 Plane: removed old elevon and vtail mixers
now only use the function based mixing, and auto-convert on startup
2017-08-02 12:49:12 +10:00
Andrew Tridgell 5c10d81f60 Plane: always setup target airspeed
this sets up a target airspeed even when flying without an airspeed
sensor. This is needed for quadplanes without airspeed sensors where
we use synthetic airspeed during the transition in TECS
2017-08-02 12:49:11 +10:00
Andrew Tridgell 96ad5e8f62 Plane: don't start a transition while disarmed
this can caused flooding of the GCS console while disarmed in FBWA
mode
2017-08-02 12:49:10 +10:00
Peter Barker 4290c6ab9a Plane: camera is responsible for taking distance-based-images and logging 2017-08-02 12:49:09 +10:00
Patrick José Pereira 60834e9af0 Plane: Allow a second activation of parachute
The hardware can fail in the first activation,
this patch allow a second chance to active the parachute successfully.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2017-07-26 17:51:34 +01:00
Peter Barker 87af817893 Plane: handle common GPS messages in base GCS_MAVLINK class 2017-07-25 14:00:45 +01:00
Peter Barker fa39f315c6 Plane: move starting of new logs into DataFlash 2017-07-19 16:37:28 +01:00
Peter Barker ea892d278f Plane: remove MSG_STATUSTEXT entirely 2017-07-18 16:12:59 +01:00
Michael du Breuil f87a69dcf2 Plane: Throttle based landing aborts should ask the landing library
Throttle based aborts should be requesting a go around from AP_Landing.
This was missed in the initial port.
2017-07-17 08:43:50 -07:00
Peter Barker 7f0cb82797 Plane: move handling of PREFLIGHT_SET_SENSOR_OFFSETS up 2017-07-17 14:17:19 +01:00
Peter Barker 6047026b11 Plane: move handling of MAG_CAL command longs up 2017-07-17 14:17:19 +01:00
Peter Barker 2b6752e0b4 Plane: move MAV_CMD_START_RX_PAIR handling to base class 2017-07-17 14:17:19 +01:00
Peter Barker 7042d3e9c9 Global: all vehicles get AP_Relay and AP_ServoRelayEvent libraries 2017-07-17 00:06:31 +01:00
Peter Barker 36eab56178 Plane: move mavlink support for servo/relay up 2017-07-16 23:56:00 +01:00
Peter Barker 3af52d9db3 Plane: add common handling of mavlink command messages 2017-07-16 23:56:00 +01:00
Michael du Breuil b8e6ad7476 Plane: Document loop max time as being in microseconds 2017-07-15 17:27:04 +09:00
Peter Barker 983686745e Plane: move rally-point handling up 2017-07-14 01:28:05 +01:00
Peter Barker a250f47f13 Plane: remove unneeded telemetry_delayed parameter 2017-07-12 17:01:36 +01:00
Peter Barker c9c4b31e99 Plane: move handling of incoming statutext messages up 2017-07-12 16:52:24 +01:00
Peter Barker c058fba5ac Plane: eliminate GCS_MAVLINK::send_statustext_all 2017-07-11 23:53:53 +01:00
Peter Barker 592729733e Copter: eliminate GCS_MAVLINK::send_statustext_all 2017-07-11 23:53: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 d850feb75f Plane: move common mission handling up to GCS_MAVLINK 2017-07-11 23:45:17 +01:00
Peter Barker 250f315678 Plane: eliminate gcs_send_mission_item_reached wrapper 2017-07-11 23:45:16 +01:00
Peter Barker 3b0a7703c4 Plane: eliminate gcs_send_message wrapper 2017-07-11 23:45:16 +01:00