Peter Barker
e0d03ce565
ArduPlane: move wind-estimation-enabled state to frontend
2021-08-18 18:37:39 +10:00
Peter Barker
515a994c59
ArduPlane: move VehicleClass handling to AHRS frontend
...
.... and renaming the enumeration while we're at it
2021-08-17 10:34:07 +10:00
Iampete1
bd2fed31ee
Plane: actualy fail to enter mode, don't just put the mode back and reutrn true
2021-08-17 10:20:53 +10:00
Iampete1
a1ecd706b7
Plane: notify buzzer on every mode change
2021-08-10 09:47:33 +10:00
Iampete1
0eab3faf32
Plane: use new tailsiter class
2021-07-27 09:08:34 +10:00
Andrew Tridgell
f472da8e90
Plane: added ONESHOT_MASK parameter
...
after discussion with Paul on servo latency
2021-07-23 14:47:14 +10:00
Peter Barker
93323f1f39
Plane: stop setting terrain singleton; libraries use singleton
2021-07-12 17:34:44 +10:00
Peter Barker
055e82276e
ArduPlane: remove HIL support
2021-06-15 09:47:31 +10:00
Andrew Tridgell
0937d903a1
Plane: use HAL_EFI_ENABLED
2021-06-09 18:07:00 +10:00
Peter Barker
3464f9b46e
ArduPlane: remove optical flow pointer from AP_AHRS
...
Nothing was ever using it.
2021-05-30 10:44:42 +10:00
Andy Piper
8e744a4a25
Plane: generalise ESC telemetry to allow harmonic notch handling with other ESCs
2021-05-12 17:01:11 +10:00
Iampete1
1a182a52da
Plane: init terrain to locaiton and wpnav sub sytems
2021-05-02 18:51:27 +10:00
Andrew Tridgell
a35d8e584d
Plane: change param prefixes for roll/pitch controllers
2021-04-15 06:57:16 +10:00
Peter Barker
aa973c5245
ArduPlane: move handling of last-seen-SYSID_MYGCS up to GCS base class
2021-04-07 17:54:21 +10:00
James O'Shannessy
17fb585bf1
ArduPlane: Add support for AC_Fence
...
ArduPlane: Remove some geofence logic from ArduPlane
ArduPlane: Refactor action and mode return implementation
ArduPlane: Use polyfence to find the return point.
2021-03-05 14:52:46 +11:00
Peter Barker
af29f34f2c
Plane: store previous_mode_reason only as a local
...
It's never used outside the mode-changing method.
2021-02-03 20:33:25 +11:00
Andrew Tridgell
2d0201855e
ArduPlane: moved init_safety to AP_Vehicle
2020-12-08 11:14:24 +11:00
Peter Barker
5fae2652ab
ArduPlane: let AHRS get the airspeed sensor from the singleton
2020-12-07 15:57:28 -08:00
Gone4Dirt
70246059ed
Plane: Move AP_Generator to AP_Vehicle
2020-11-24 12:54:52 +11:00
Iampete1
dd3ac893b3
Plane: dont use VTOL throttle percentage in tailsitter vtol transisiton
2020-11-18 19:33:21 +11:00
Tatsuya Yamaguchi
c67a924801
Plane: replace message indicating that initialisation has completed
2020-09-22 09:52:52 +10:00
Siddharth Purohit
fb180fa431
Plane: move to using CANManager library
2020-08-19 17:31:09 +10:00
Andy Piper
b649afe9e5
Plane: make mount/gimbal inclusion configurable per-board
2020-08-04 09:18:14 +10:00
Tom Pittenger
c7c9461fc0
Plane: update ModeReasons to not use UNKNOWN reason
2020-07-28 11:52:39 -07:00
Henry Wurzburg
3617e0c729
ArduPlane: fix airspeed messages for consistency
2020-07-21 09:41:05 +10:00
Peter Barker
ee2118f93a
Plane: add support for AP_Generator
2020-07-03 08:21:42 +09:00
Andy Piper
9077d41df1
Plane: add support for tracking fft peaks and individual motor rpms with harmonic notches
...
log harmonic notch even if FFT is disabled. Fallback to throttle notch for BLHeli
move harmonic notch update to AP_Vehicle
2020-06-21 19:09:35 +10:00
Peter Barker
f59d2fdbf4
ArduPlane: add and use accessor for last-RADIO_STATUS.remrssi-ms
2020-06-09 10:20:29 +10:00
Andrew Tridgell
156fe0846f
Plane: fixed plane landing gear to obey LGR_OPTIONS bits
...
we forced landing gear retract/deploy on takeoff and landing when we
should be following the options bits
2020-04-15 17:10:31 +10:00
Andrew Tridgell
8aaefea2a4
Plane: convert to new get_rpm() API
2020-03-12 08:36:40 +11:00
Peter Barker
4fac8c9e16
ArduPlane: move AP_PARM_KEY_DUMP function up to AP_Vehicle base class
...
Common to all vehicles now, including Tracker
2020-03-10 11:00:14 +11:00
Peter Barker
5ff1630c63
ArduPlane: move initialisation of serial and gcs to AP_Vehicle
2020-02-25 11:50:55 +11:00
Andy Piper
3832bc455d
Plane: dynamic notch setting via FFT
2020-02-22 11:15:37 +11:00
Peter Barker
a5a75e61da
ArduPlane: move some common init_ardupilot code up to AP_Vehicle
2020-01-28 11:34:51 +11:00
Peter Barker
de423a945f
Plane: move rssi initialisation into init_ardupilot
...
This makes it the same as Rover and Copter.
2020-01-28 11:34:51 +11:00
Peter Barker
024c86bdab
Plane: let AP_Vehicle base class worry about scheduler delay callback
2020-01-21 11:37:28 +11:00
Andrew Tridgell
77f0810f01
Plane: removed init_vehicle from separate vehicles
...
use common call from AP_BoardConfig
2019-12-30 13:02:04 +11:00
Andy Piper
eca398e7a2
Plane: create generic vehicle management and move runcam to it
2019-12-30 13:02:04 +11:00
Andrew Tridgell
f3dfd62f32
Plane: fixed FS_GCS_ENABL=2 for hearbeat failsafe
2019-12-19 08:34:00 +11:00
Randy Mackay
b3928d3eee
Plane: scripting init sends failure message
2019-12-03 12:48:32 +08:00
Andrew Tridgell
d872ca27ce
Plane: added dynamic harmonic notch support
2019-11-19 07:08:01 +08:00
Andrew Tridgell
2b27cd2ce9
Plane: Add EFI Support
2019-11-17 20:10:54 +11:00
Michael du Breuil
ee96ec7f0d
Plane: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08:00
Peter Barker
32a71d2d5a
Plane: mount uses AP_SerialManager singleton
2019-08-28 06:55:28 +10:00
Peter Barker
cfe4ec4d1f
Plane: add nullptr check for mavlink channel 0
2019-08-14 18:25:43 +10:00
Peter Barker
7e5a6f1895
Plane: avoid allocate a GCS_MAVLINK per mavlink channel
2019-08-14 18:25:43 +10:00
Michael du Breuil
3e214e1f8b
Plane: Add keydump feature
2019-07-30 10:42:16 +10:00
Michael du Breuil
39c35814ec
Plane: Send a heartbeat on mode change
2019-06-26 12:58:18 -07: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
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
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 Hall
0b1d392342
Plane: only save gains if disarmed in autotune
2019-05-07 09:23:50 +10:00
Peter Barker
14a8bf3aec
Plane: move responsibility for logging into library
2019-04-23 10:06:17 +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
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
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
ea031d720a
Plane: Fix RangeFinder init
2019-04-06 09:15:22 +11:00
Michael du Breuil
8802ea10e5
Plane: include FWversion
2019-04-05 20:12:53 +11: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
73707077b5
Plane: move enabled parameter into compass library
2019-04-02 10:24:49 +11:00
Peter Barker
6c5c14381f
Plane: move devo telemetry handling to GCS
2019-03-19 14:39:14 +11:00
Peter Barker
1a55f0ffab
Plane: FrSky support has moved to GCS
2019-03-19 14:39:14 +11:00
Peter Barker
d489d9a585
Plane: compass init never fails
2019-03-13 13:06:50 +11:00
Peter Barker
ca7566fff9
Plane: use enum class for ArmingMethod and ArmingRequired
2019-03-12 19:48:14 +11:00
Mark Whitehorn
487ad7a90f
Plane: add QACRO mode for quadplanes
...
use acro_r/p/y_rate params in qacro
port ACRO throttle handling from copter
handle non-tailsitter controls
2019-03-05 10:13:20 +11:00
Michael du Breuil
5134af2298
Plane: Manage quadplane throttle during RC failsafe
2019-02-19 20:41:05 -07:00
Peter Barker
33541dcbf6
Plane: GCS_MAVLink takes care of mavlink capabilities
2019-02-19 13:14:52 +11:00
Peter Barker
5a19f447a7
Plane: devo telemetry no long requires singleton classes to be passed in
2019-02-13 19:24:07 +00:00
Peter Barker
cfb3dfc4e5
Plane: AP_Frsky_Telem uses singletons
2019-02-12 17:53:23 +00:00
Peter Barker
40856fef56
Plane: remove vestiges of old PX4_MIXER code
2019-01-19 19:31:03 +11:00
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
2019-01-18 18:08:20 +11:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Nikhil Upadhye
d1e93bae83
Plane: adding new mode QAUTOTUNE
...
copter like autotune support for quadplanes and tailsitter in VTOL mode.
cleanup
2018-12-14 16:33:11 +11:00
Peter Barker
56675851b6
Plane: DataFlash uses AP_Mission singleton
2018-12-13 14:45:30 +09:00
Peter Barker
a263364959
Plane: GCS_MAVLink uses dataflash singleton
2018-12-11 08:43:47 +09:00
Andrew Tridgell
da69bf3391
Plane: added an abstraction for reverse thrust
...
use have_reverse_thrust() and get_throttle_input()
2018-11-16 08:33:35 +11:00
Peter Barker
a5c34f6172
Plane: OpticalFlow takes care of its own logging
2018-11-13 10:40:23 +11:00
Eugene Shamaev
01178a75e9
Plane: added landing gear support
2018-11-09 14:35:14 +11:00
Michael du Breuil
9e1b0de6b7
Plane: Make capability init consistent
2018-11-05 14:04:36 +11:00
Michael du Breuil
3aed07a83a
Plane: Create a scripting object
2018-10-09 10:08:52 +11:00
Michael du Breuil
9ed5184d98
Plane: Remove unneeded ServoRelayEvent mask set
2018-08-20 21:31:06 -07:00
Peter Barker
9ce02bc504
Plane: minimal support for inheritting from RC_Channel
2018-08-01 12:11:30 +09:00
Michael du Breuil
eea8267704
Plane: Update notify initilization
2018-08-01 09:22:09 +10:00
Andrew Tridgell
1d675390ab
Plane: make soaring an optional build feature
...
this disables soaring on px4-v2, saving 5k of flash
This is needed to consider pr #9042 , which takes a lot of flash space
2018-07-30 13:09:15 +10:00
Peter Barker
c42fb6d797
Plane: remove pointless rangefinder_init shim function
2018-07-04 21:08:47 +01:00
Lucas De Marchi
1a45aa12f5
AP_Param: warn on last pass only about unknown parameters
...
Do not warn about unknown parameters on the first pass, i.e. when
AP_Param:load_all() is called. This is because we may still not know
about dynamically loaded parameters. When we call the second (last)
time, we expect to already know all possible parameters, so print a
warning to both console and the debug terminal.
2018-06-28 10:18:19 -07:00
Andrew Tridgell
bc503cc600
Plane: moved OSD to top level params
...
this is to give lots of depth for OSD params (which will be very
complex)
2018-06-27 14:55:00 +10:00
Alexander Malishev
75bf6984f5
Plane: added OSD support
2018-06-27 14:55:00 +10:00
Peter Barker
f5e241af01
Plane: option to force arm, bypassing checks
2018-06-20 11:43:38 +10:00
Peter Barker
2b7f9247e8
Plane: use AP_FWVersion singleton
2018-06-18 19:10:37 +01:00
Michael du Breuil
12da35220c
Plane: Simplify radio trimming, improve MAVLink report
2018-06-11 16:29:36 -07:00
Andrew Tridgell
ce73918873
Plane: fixed throttle_percentage for twin engine planes
...
there is no servo output for function 70 - use the scaled value
2018-05-21 14:39:56 +10:00
Peter Barker
eb026e0a5f
Plane: correct compilation when logging is disabled
2018-05-10 17:55:13 +09:00