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
Peter Barker
5a8f01c19c
Plane: use send_text method on the GCS singleton
2017-07-09 17:17:29 -04:00
Peter Barker
685706952c
ArduPlane: use Notify singleton for sending statustext
2017-07-09 17:17:29 -04:00
Peter Barker
5b3b61a2e4
Plane: move GCS functions up to superclass GCS
2017-07-07 16:18:37 +01:00
Andrew Tridgell
1d626db3b1
Plane: use scaled outputs for AFS failsafe
...
we need to use scaled outputs so that derived outputs (such as elevons
and vtail) have a valid input to use
2017-07-04 07:59:28 +10:00
Peter Barker
923b201025
Plane: send servos outputs after flaperon update
2017-07-04 07:59:28 +10:00
Peter Barker
38921c4f1a
Plane: correct AFS terminate for rcin/servos split
2017-07-04 07:59:28 +10:00
Eugene Shamaev
b95ebadf8b
ArduPlane: move of CAN parameters into separate group
2017-07-03 11:44:32 +01:00
Andrew Tridgell
b2cd5f5c06
Plane: release 3.8.0beta5
2017-07-03 11:39:48 +10:00
Andrew Tridgell
d3f9afd4e7
Plane: fixed auto-adjustment of flaperon trim
2017-07-03 11:17:42 +10:00
Andrew Tridgell
2cb511c049
Plane: deprecate old aileron_with_input and elevator_with_input
...
these have very rarely been used and don't work well with new trimming
mechanisms. Now treat them as ordinary ailerons/elevators
2017-07-03 11:17:42 +10:00
Andrew Tridgell
51b39ea3a1
Plane: removed ancient "mix_mode" type elevon mixing
...
this has been deprecated for a long time
2017-07-03 11:17:42 +10:00
Andrew Tridgell
725244ff8a
Plane: implement new TRIM_AUTO functionality
...
this fixes TRIM_AUTO for new scaled output approach to servo functions
2017-07-03 11:17:42 +10:00
Andrew Tridgell
984e887d1d
Plane: changed differential spoilers to scaled outputs
...
this matches new elevon, vtail and flaperon code
2017-07-03 11:17:42 +10:00
Andrew Tridgell
c9e4423997
Plane: re-implement flaperons
...
implement as scaled output instead of PWM output
this will break some peoples setups, but gives much easier setup and
more consistent behaviour
2017-07-03 11:17:42 +10:00
Peter Barker
1ca5f243a5
Plane: check dataflash to see if we should log backend gps messages
2017-06-29 15:43:38 +01:00
Peter Barker
949e07c7e3
Plane: use DataFlash should_log to determine raw IMU logging
2017-06-29 15:26:27 +01:00
Peter Barker
88a7167cb9
Plane: move should_log check of log bitmask into DataFlash
2017-06-29 15:26:27 +01:00
Peter Barker
5b70b688cb
Plane: handle knowledge of in_log_download in DataFlash
2017-06-27 03:10:43 +01:00
Peter Barker
60ebd099bd
Plane: move send-logs-via-mavlink code into DataFlash
2017-06-27 03:10:43 +01:00
Michael du Breuil
8691eae679
Plane: Handle NAV_CONTROLLER_OUTPUT.wp_dist overflowing
2017-06-20 15:41:50 +01:00
Andrew Tridgell
0b40e853c9
Plane: call set_likely_flying()
2017-06-20 09:44:44 +10:00
Peter Barker
ceec44350f
Plane: move MAVLINK_MSG_ID_REMOTE_LOG_BLOCK_STATUS handling up
2017-06-17 15:07:48 +01:00
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.
2017-06-17 09:10:27 +10:00
Peter Barker
30dfd32b87
Plane: stop using in_mavlink_delay as a proxy for disabling logging
2017-06-16 17:07:48 +01:00
Peter Barker
b57a4e9685
Plane: call dataflash should_log method
2017-06-16 17:07:48 +01:00
Michael du Breuil
1d03732ac5
Plane: Remove redundant status text on MAV_CMD_DO_GO_AROUND
2017-06-16 11:49:52 +09:00