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
night-ghost
aa53832a70
ArduPlane: devo telemetry support (RX705/707)
2018-04-24 10:44:28 +10:00
Peter Barker
2b54113334
Plane: Baro does its own dataflash logging
2018-04-12 19:12:12 +01:00
Peter Barker
58d41e40d3
Plane: let GCS_MAVLink calibrate airspeed sensor
...
Also remove useless zero_airspeed function
2018-04-02 23:25:05 +01:00
Peter Barker
65893cfca5
Plane: tidy handling of barometer calibrations
2018-04-02 23:25:05 +01:00
Michael du Breuil
7405bb7b85
Plane: Support new battery failsafes
2018-03-27 22:12:21 +01:00
night-ghost
98b8a61ca8
Plane: allow AP_Stats to be optional
2018-03-02 07:23:35 +11:00
David Ingraham
a6aeebad4b
Plane: Add support for AP_Gripper
2018-03-01 14:14:43 +11:00
Andrew Tridgell
2fb6113098
Plane: use AP:PerfInfo class
2018-02-10 10:50:22 +11:00
Tom Pittenger
39a200b83f
Plane: allow control_mode enum to be in arbitrary order
...
never use control_mode >= BLAH. This requires the order to be important which greatly increases chance for unexpected behavior
Closes https://github.com/ArduPilot/ardupilot/issues/4656
2018-01-09 17:05:04 -08:00
Tom Pittenger
512b327cd4
Plane: failsafe events to use enums instead of magical numbers : Non-functional change
2017-12-07 00:19:32 -08:00
Tom Pittenger
7271586a47
Plane: invert auto_state.no_crosstrack flag to be auto_state.crosstrack. Non-functional change
2017-11-23 09:25:18 -08:00
André Kjellstrup
1d27e21d83
Plane: Option to trig by distance only when in AUTO mode
2017-11-14 00:10:22 +00:00
Michael du Breuil
d52f5155f0
Plane: Rename rc failsafe state members
2017-11-02 16:46:08 -07:00
Andrew Tridgell
af893ddde7
Plane: implement Q_OPTIONS
...
this allows for NAV_TAKEOFF to be treated as NAV_VTOL_TAKEOFF in
quadplanes, and for level flight to be maintained during quadplane
transitions
2017-10-30 16:30:10 +11:00
Tom Pittenger
8adacfeea3
Plane: always log MODE and include reason when logging is enabled
2017-10-25 21:18:29 +11:00
Peter Barker
4ce051af82
Plane: ensure we're in short failsafe before using failsafe.ch3_timer_ms
2017-10-24 09:28:13 +11:00
Peter Barker
7feef72b34
Plane: improve failsafe notifications
2017-10-24 09:28:13 +11:00
Peter Barker
01d8c506d2
Plane: add option to entirely disable short failsafe
2017-10-24 09:28:13 +11:00