Peter Barker
7e5a6f1895
Plane: avoid allocate a GCS_MAVLINK per mavlink channel
2019-08-14 18:25:43 +10:00
Peter Barker
20626a1fe1
Plane: move automatic declination setting into AP_Compass itself
2019-08-13 10:02:13 +10:00
Andrew Tridgell
1b775c96f5
Plane: added rangefinder correction by terrain data
...
allows for landing approach with terrain changes
2019-08-06 09:36:02 +10:00
Peter Barker
b7b67f523d
Plane: pass format string through to check_failed
2019-08-05 14:18:05 +10:00
Andrew Tridgell
6f57028c23
Plane: added release notes from 3.9.9
2019-08-04 18:01:51 +10:00
Leonard Hall
124d18228b
Plane: Support seperate roll and pitch limits
2019-08-03 12:06:32 +09:00
Peter Barker
05c608e725
Plane: use MAV_FRAME_GLOBAL instead of MAV_FRAME_GLOBAL_INT in send_position_target
2019-07-30 10:55:21 +10:00
Peter Barker
20a20bde65
Plane: accept MAV_FRAME_GLOBAL for set_position and repositioning
2019-07-30 10:55:21 +10:00
Michael du Breuil
2d81ad63f5
Plane: Convert ARMING_CHECK
2019-07-30 10:42:16 +10:00
Michael du Breuil
3e214e1f8b
Plane: Add keydump feature
2019-07-30 10:42:16 +10:00
Leonard Hall
34da437266
Plane: support for upgrade to PID object
2019-07-25 17:38:15 +09:00
Leonard Hall
157f786adf
Global: rename desired to target in PID info
2019-07-25 17:38:15 +09:00
Michael du Breuil
c6f884221e
Plane: Fix parameter description on values to not use the delimiter character
2019-07-23 09:29:48 +10:00
Pierre Kancir
33e12a127c
ArduPlane: pass mavlink_message_t by const reference
2019-07-16 20:51:42 +10:00
Michael du Breuil
22598b1a4b
Plane: Reduce inerital nav dependence
2019-07-16 12:11:42 +09:00
Peter Barker
7c88eb670c
Plane: RangeFinder uses AP_SerialManager singleton
2019-07-16 09:29:48 +10:00
Peter Barker
38e303389b
Plane: avoidance no longer takes ahrs in constructor
2019-07-16 09:29:48 +10:00
Peter Barker
37014bdfe1
Plane: split RC_CHANNELS messages onto separate ap_message ids
2019-07-09 13:08:45 +10:00
Peter Barker
769e862807
Plane: stop passing relay and ahrs into camera constructor
2019-07-09 09:32:39 +10:00
Andrew Tridgell
ff08de033e
Plane: fixed home reset alt bias
...
this fixes a bug in the set of home alt while disarmed. The set had a
circular dependency which could cause a large bias to build up between
home alt and gps alt due to small fluctuations in barometer data
Thanks to Nick Allen for spotting this
2019-07-07 19:20:32 +10:00
Andrew Tridgell
aa18c75689
Plane: decay fw rate integrators when at low airspeed
...
this prevents large fixed wing control surface integrators from
causing issues when we have wind from behind in hover
2019-07-07 18:16:47 +10:00
Andrew Tridgell
ebe2278f5d
Plane: reset rate controller integrators if not run for 2s
...
this prevents a bug where integrator buildup can happen from a
previous flight mode
2019-07-07 18:16:47 +10:00
Peter Barker
1674cb0a85
Plane: EKF logging moved into EKF from logger
2019-07-06 19:05:51 +10:00
Hwurzburg
44f6f7335e
Plane: Added Quadplane option for QRTL failsafe action
2019-07-05 11:25:56 +10:00
Peter Barker
3ab266b751
Plane: ServoRelayEvents uses Relay singleton
2019-07-03 23:59:24 -07:00
IamPete1
76663d66e8
Plane: support bicopter tiltrotors
2019-07-02 10:15:17 +10:00
Peter Barker
80c7449145
Plane: add sanity check when fetching GCS_MAVLink instance
2019-06-27 07:54:45 +10:00
Michael du Breuil
39c35814ec
Plane: Send a heartbeat on mode change
2019-06-26 12:58:18 -07:00
Peter Barker
3e4366906b
Plane: allow GCS MAVLink base class to handle out-of-time for sending messages
2019-06-25 10:29:40 +10:00
Peter Barker
78a1f97caa
Plane: remove pointless protocol parameter to setup_uart
2019-06-25 09:47:08 +10:00
Peter Barker
a900fa0117
Plane: stop pointlessly passing serial manager around
2019-06-25 09:47:08 +10:00
Michael du Breuil
183640789d
Plane: Enable scripting parameters
2019-06-18 00:06:32 -07:00
Peter Barker
53d2a6c1e2
Plane: set os_sw_version to date fw was compiled
...
Also avoids non-trivial-designator compilation error
2019-06-18 10:54:01 +10:00
Peter Barker
584404a6da
Plane: add RC options for changing mode
2019-06-18 10:48:47 +10:00
Michael du Breuil
1d379dd0b3
Plane: Update for AFS interface
2019-06-18 10:02:05 +10:00
Andrew Tridgell
08baabed4a
Plane: modify FENCE_AUTOENABLE docs
2019-06-11 06:58:47 +10:00
Andrew Tridgell
5076058459
Plane: added FENCE_AUTOENABLE=3 option
...
this enables the fence when arming. If the vehicle is outside the
fence or it can't be enabled then arming fails
2019-06-11 06:58:47 +10:00
Peter Barker
fb2422e496
Plane: stop setting eas2tas in AirSpeed - it can work it out itself
2019-06-06 12:44:36 +10:00
1iggy2
220176f283
Plane: added octa I frame
2019-06-04 09:49:44 +09:00
Peter Barker
13f7022cec
Plane: move Arming functions into AP_Arming file
2019-05-30 16:02:10 +09:00
Peter Barker
8fdc2a1bad
Plane: emit throttle armed and throttle disarmed statustexts
2019-05-30 07:37:30 +09:00
Peter Barker
92ce75517c
Plane: move check for ARMING_CHECK_NONE back into Plane
...
Plane allows all prearm and arm checks to be bypassed with
ARMING_CHECK_NONE. Not all vehicles allow this, so move this bypass
back into Plane.
2019-05-30 07:37:30 +09:00
Peter Barker
400aa53654
Plane: move arming-related functionality into parent classes
...
Logging moves up
arming via mavlink moves up
arming via switch moves up
2019-05-30 07:37:30 +09:00
Peter Barker
515e950a66
Plane: add missing override keywords in afs
2019-05-15 21:05:20 +10:00
Andrew Tridgell
a7c6e9c007
Plane: restore WP num on watchdog reset
2019-05-15 15:33:48 +10:00
Tom Pittenger
08d5e7d4ae
Plane: move heartbeat sending to gcs instead of by vehicles
2019-05-14 10:54:45 -06:00
Mark Whitehorn
34a1cf9528
Plane: move callback setup to QuadPlane::setup()
2019-05-08 10:28:42 +10:00
Mark Whitehorn
aeaff72e14
Plane: fix acro stabilization check
2019-05-08 08:44:52 +10:00
Mark Whitehorn
4a7ce1b384
Plane: clean up qacro
2019-05-08 08:44:52 +10:00
Peter Hall
0b1d392342
Plane: only save gains if disarmed in autotune
2019-05-07 09:23:50 +10:00
Tom Pittenger
6970a66cad
Plane: refactor stick_mixing to library
2019-05-03 13:14:11 -07:00
Andrew Tridgell
cd72657c94
Plane: fixed qautotune exit
...
this was lost in the onion changes
2019-05-02 06:59:12 +10:00
Vinicius Knabben
99ad94ec49
Plane: Added parachute release on critcal sink rate and battery failsafe actions
...
Signed-off-by: Vinicius Knabben <viniciusknabben@hotmail.com>
2019-04-30 10:04:58 +10:00
IamPete1
02d976f264
plane: reinstate tailsitter roll limit
2019-04-30 09:20:40 +10:00
Mark Whitehorn
dd50d435ab
Plane: limit bodyframe roll mode to tailsitters
2019-04-30 08:51:24 +10:00
Andrew Tridgell
40245cabf1
Plane: update release notes for 3.9.8
2019-04-26 07:17:48 +10:00
Peter Barker
14a8bf3aec
Plane: move responsibility for logging into library
2019-04-23 10:06:17 +10:00
Peter Barker
ad16f31e11
Plane: call compass cal routine directly from sched table
2019-04-23 10:06:17 +10:00
Mark Whitehorn
f054301ec2
Plane: add QACRO roll/pitch/yaw rate params
2019-04-23 09:46:38 +10:00
Mark Whitehorn
8bcf2439ad
Plane: quadplane stabilize manual throttle midpoint and expo
...
move throttle curve logic to AP_Math
use parameter THROTTLE_EXPO in get_pilot_throttle
2019-04-23 09:46:38 +10:00
Mark Whitehorn
b515431008
AP_Math: add expo and throttle_curve functions
2019-04-23 09:46:38 +10:00
IamPete1
fb4b092917
plane: restore thr_min behaviour and update description
2019-04-23 09:39:45 +10:00
Pierre Kancir
65b4ba0539
ArduPlane: use past_interval_finish_line and line_path_proportion from Location
2019-04-23 09:20:43 +10:00
Mark Whitehorn
0a78368590
Plane: avoid arithmetic exception in powf
2019-04-23 09:15:55 +10:00
Mark Whitehorn
e8adbba2fc
Plane: bodyframe roll log target attitude bugfix
2019-04-23 09:15:55 +10:00
Mark Whitehorn
3e2a253f4a
Plane: in QACRO mode, use multicopter attitude target to set nav_roll/pitch
2019-04-23 09:15:55 +10:00
Andrew Tridgell
4a47127c58
Plane: updated release notes for 3.9.8-beta1
...
# Conflicts:
# ArduPlane/release-notes.txt
2019-04-22 17:08:03 +10:00
Andrew Tridgell
11e8243bc9
Plane: read RC input in failsafe handler
2019-04-22 17:03:23 +10:00
Andrew Tridgell
340722c3c3
Plane: don't overwrite home on an armed watchdog reset
2019-04-22 16:53:35 +10:00
Andrew Tridgell
ebbe01bd83
Plane: bypass arming checks for armed watchdog reboot
2019-04-22 16:53:35 +10:00
Andrew Tridgell
f7c00c506e
Plane: read RC inputs in plane failsafe code
2019-04-22 16:53:35 +10:00
Andrew Tridgell
468ee0bd9b
Plane: removed an unnecessary delay on init
2019-04-22 16:53:35 +10:00
Andrew Tridgell
77516329fc
Plane: show message for skipping gyro cal
2019-04-22 16:53:35 +10:00
Peter Barker
bba902ab94
Plane: move setting of compass sys_status bits up
2019-04-16 09:48:23 +10:00
Peter Barker
f09822a400
Plane: adjust for desired spool state and spool state renames
2019-04-14 12:18:03 +09:00
Peter Barker
3a4cbdd41f
Plane: remove pointless update_notify shim
2019-04-11 05:31:43 -07:00
Peter Barker
a19df642a0
Plane: RangeFinder now handles RFND logging
2019-04-09 22:17:58 +10:00
Michael du Breuil
f5511d6119
Plane: Check all EKF cores for health
2019-04-09 10:53:25 +10:00
Peter Barker
3e505f33c3
Plane: use RSSI singleton for logging
2019-04-09 09:33:13 +10:00
Pierre Kancir
d8990a002e
Plane: update locations_are_same to same_latlon_as
2019-04-08 08:05:05 -07:00
Pierre Kancir
47141562c0
ArduPlane: use get_distance_NE instead of location_diff
2019-04-08 08:00:52 -07:00
Leonard Hall
2daa5ffb9e
Plane: replace set_throttle_out_unstabilized
2019-04-08 09:42:21 +09:00
Andrew Tridgell
fb061a225a
Plane: fixed build with HAL_MINIMIZE_FEATURES enabled
...
thanks to PompeCukor for noticing
2019-04-08 09:34:15 +10:00
Michael du Breuil
35bd143532
Plane: Update GPS before updating current_loc
...
Fixes 20ms of extra induced lag on the DCM position estimate
2019-04-05 23:08:24 -07:00
Michael du Breuil
ea031d720a
Plane: Fix RangeFinder init
2019-04-06 09:15:22 +11:00
Pierre Kancir
3f5999a6ad
ArduPlane: move location_update to Location and rename to offset_bearing
2019-04-06 09:10:28 +11:00
Pierre Kancir
58328da5f3
ArduPlane: move get_bearing_cd to Location and rename to get_bearing_to
2019-04-06 09:10:28 +11:00
Michael du Breuil
8802ea10e5
Plane: include FWversion
2019-04-05 20:12:53 +11:00
Michael du Breuil
171f4ac3d3
Plane: Include needed AP_Logger header
2019-04-05 20:12:53 +11:00
Tom Pittenger
ade6281923
Plane: use #if ADVANCED_FAILSAFE == ENABLED just like Rover and Copter
2019-04-03 17:46:50 -07:00
Tom Pittenger
ca40c7f2d5
Plane: create afs_plane.h to match copter and rover structure
2019-04-03 17:46:50 -07:00
IamPete1
520f5f7894
Plane: add crow flap options paramiter
2019-04-04 09:18:11 +11:00
Patrick José Pereira
c484b93314
Plane: Use new RC_Channel AUX_FUNC
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-04-03 09:53:58 -07:00
Tom Pittenger
fbe483ccac
Plane: gracefully-ish fail set_mode(qmode)
2019-04-02 16:28:52 +11:00
Tom Pittenger
b8a44e6e52
Plane: rearranged some set_mode checks
2019-04-02 16:28:52 +11:00
Tom Pittenger
05774a8a5a
Plane: fixed some rebase duplicate code.
2019-04-02 16:28:52 +11:00
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
2019-04-02 16:28:52 +11:00
Peter Barker
29258f6752
Plane: rely on AP_Mission to emit GCS text
2019-04-02 11:07:58 +11:00
Peter Barker
903be58436
Plane: add param conversion from MAG_ENABLE to COMPASS_ENABLED
2019-04-02 10:24:49 +11:00
Peter Barker
73707077b5
Plane: move enabled parameter into compass library
2019-04-02 10:24:49 +11:00