Peter Barker
85e8b362a7
ArduPlane: stop using AHRS as conduit for Compass pointer
2021-07-30 12:19:42 +10:00
Iampete1
f18428b357
Plane: #ifdef scripting specific functions
2021-07-28 18:18:32 +10:00
Iampete1
0eab3faf32
Plane: use new tailsiter class
2021-07-27 09:08:34 +10:00
Andrew Tridgell
c0d942af4c
Plane: disable EKF3 default airspeed fusion by default
...
this fusion can cause problems with wind estimation, disable by
default for now
2021-07-22 18:20:45 +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
James Harton
be3cc1b679
Docs: Change all references from dev.ardupilot.org to the appropriate documentation URLs.
2021-05-31 12:20:45 +10:00
Josh Henderson
5c8c961399
ArduPlane: Privatize AP_IntertialSensor Logging
2021-04-29 19:19:12 +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
Stavros Korokithakis
3c19579988
Plane: Push the TECS to climb in all circumstances
2021-04-06 21:37:01 +10:00
Stavros Korokithakis
29043d62e9
Add FLIGHT_OPTION to climb before RTL
2021-03-16 11:58:47 +11:00
James O'Shannessy
aae092b88f
ArduPlane: Remove all unused geofence capability
...
ArduPlane: Remove missed geofence logic
2021-03-05 14:52:46 +11: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
Paul Riseborough
f5f13b9a47
Plane: Set default airspeed variance using airspeed range
2021-03-05 12:10:01 +11:00
Josh Henderson
cc1e395854
ArduPlane: privatize AHRS logging
2021-01-12 10:13:22 +11:00
Peter Barker
6baaf03c8c
Plane: move auto_throttle_mode to being a method on each mode
2021-01-10 16:04:30 +11:00
yaapu
141010ac39
ArduPlane: added virtual getters for waypoint info
2020-12-10 12:39:44 +11:00
Hwurzburg
3cdcce2123
ArduPlane: add inflight airspeed cal rc switch
2020-11-25 21:30:15 +11:00
Gone4Dirt
70246059ed
Plane: Move AP_Generator to AP_Vehicle
2020-11-24 12:54:52 +11:00
Samuel Tabor
10111f92d5
Plane: Rename SOARING_ENABLED to HAL_SOARING_ENABLED and don't compare to ENABLED.
2020-09-24 07:30:48 +10:00
Andy Piper
c057be8ed1
Plane: conditionally compile ADSB support
2020-09-22 09:33:51 +10:00
Samuel Tabor
334fd4afbc
Plane: Remove update_navigation() method.
2020-08-20 13:02:06 +10:00
Samuel Tabor
06eea6ed9f
Plane: Move navigation functions into flight mode classes.
2020-08-20 13:02:06 +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
Mirko Denecke
10a85892cf
ArduPlane: update_trigger() is now called in AP_Camera update()
2020-07-15 08:37:28 +09: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
Andrew Tridgell
fbd774fde9
Plane: set pressure alt for vtol motors
2020-06-05 11:35:53 +10:00
Andrew Tridgell
26c2555c3c
Plane: increased allowed time for mavlink send to 750us
...
this is to allow more time to get streams out at low loop rates
2020-05-23 11:54:41 +10:00
Buzz
0f5177b291
Plane: Support a set of offboard MAVLink guided controls with rates
...
+ 3 rounds of fixes
2020-05-20 15:03:21 +10:00
Andrew Tridgell
8b21f5117a
Plane: implement RTL_CLIMB_MIN parameter
...
this allows for an initial climb on RTL where roll is limited to
LEVEL_ROLL_LIMIT
2020-05-18 13:04:04 +10:00
Paul Riseborough
40cc5a5006
ArduPlane: Improve EKF failsafe in VTOL modes
...
Replicates Copter behaviour with a three step process if the EKF sustains a loss of navigation as detected by high GPS innovation test ratios:
1) Attempts a yaw reset using the GSF estimate if available
2) Attempts a lane switch
3) Falls back to a non-position mode
2020-05-14 10:40:48 +10:00
Paul Riseborough
0efdb2b66b
ArduPlane: Send default airspeed to estimators
2020-04-24 09:43:23 +10:00
Samuel Tabor
684ee11fc3
AP_TECS: Add flags to indicate gliding flight, and use these with AP_Soaring.
2020-04-08 09:11:54 +10:00
Andrew Tridgell
9f92aad711
Plane: implement get and set target location
2020-03-12 08:36:40 +11:00
Randy Mackay
f2ab428cdd
Plane: rename update_throttle_mix
...
was called update_throttle_thr_mix
also minor format fixes
2020-02-25 16:52:40 +09:00
Gone4Dirt
e02a9890b3
Plane: force mission resume on RTL when DO_LAND_START in mission
2020-02-25 10:05:12 +11:00
Peter Barker
74dbcac40e
ArduPlane: log disarm method
2020-02-22 12:16:29 +11:00
Andy Piper
04792b23a9
ArduPlane: add gyro fft logging
2020-02-22 11:15:37 +11:00
Peter Barker
58d45ef04a
Plane: let AP_Vehicle handle loop()
2020-02-06 14:41:06 +11:00
Peter Barker
a45abc7762
Plane: move setup method up to AP_Vehicle base class
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
33a0e55b32
Plane: correct duplicate button instance
2019-12-10 09:29:52 +09:00
Peter Barker
a567e8bc94
Copter: use https:// scheme for ardupilot URLs
2019-12-10 07:53:46 +11: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
Andrew Tridgell
ff400243e0
Plane: added a new TAKEOFF flight mode
...
takeoff then circle in direction of takeoff
2019-10-17 12:19:43 +11:00
Peter Barker
b12f620233
Plane: fix format string warnings
2019-09-02 21:00:59 +10:00
Peter Barker
2768d229ed
Plane: stop updating sensor status flags
...
These are updated as required in the gcs library itself.
2019-08-17 17:45:03 +10:00
Peter Barker
20626a1fe1
Plane: move automatic declination setting into AP_Compass itself
2019-08-13 10:02:13 +10:00
Michael du Breuil
22598b1a4b
Plane: Reduce inerital nav dependence
2019-07-16 12:11:42 +09:00
Peter Barker
fb2422e496
Plane: stop setting eas2tas in AirSpeed - it can work it out itself
2019-06-06 12:44:36 +10:00
Peter Barker
13f7022cec
Plane: move Arming functions into AP_Arming file
2019-05-30 16:02:10 +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
Tom Pittenger
08d5e7d4ae
Plane: move heartbeat sending to gcs instead of by vehicles
2019-05-14 10:54:45 -06: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
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
Pierre Kancir
65b4ba0539
ArduPlane: use past_interval_finish_line and line_path_proportion from Location
2019-04-23 09:20:43 +10:00
Peter Barker
3a4cbdd41f
Plane: remove pointless update_notify shim
2019-04-11 05:31:43 -07: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
Tom Pittenger
ade6281923
Plane: use #if ADVANCED_FAILSAFE == ENABLED just like Rover and Copter
2019-04-03 17:46:50 -07: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
f004765494
Plane: fix incorrect misleading comment
2019-03-31 18:35:53 -07:00
Peter Barker
ca7566fff9
Plane: use enum class for ArmingMethod and ArmingRequired
2019-03-12 19:48:14 +11:00
Peter Barker
bd444d97dc
Plane: move sending of airspeed_autocal into AP_AirSpeed
2019-03-06 11:32:52 +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
Dr.-Ing. Amilcar do Carmo Lucas
f430fd14f6
Plane: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Peter Barker
dea75a87fd
Plane: AHRS set_orientation renamed to update_orientation
2019-02-26 10:28:09 +11:00
Peter Barker
34853fb1bf
Plane: move update_sensor_status_flags into GCS subclasses
2019-02-19 14:09:59 +11:00
Mark Whitehorn
95b3a5bacd
ArduPlane: implement hover throttle learning for quadplanes
...
disable by default
check quadplane.enable in update_hover_learn
2019-02-16 19:04:13 -08:00
Peter Barker
b6bf8d8368
Plane: make setting of home boolean in preparation for sanity checks
2019-02-15 08:28:45 +11:00
Michael du Breuil
df1632054e
Plane: Update throttle mix
2019-02-05 11:05:54 +11: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
Peter Barker
76b31f315a
Plane: log_terrain_data no longer takes a DataFlash argument
2019-01-18 11:17:40 +11:00
Michael du Breuil
843c92ced5
Plane: Remove some redundant code/state resets
2019-01-15 10:45:50 +11:00
Andrew Tridgell
f35cebcca4
Plane: fixed EKF yaw reset
...
we need to do the yaw reset before updating the rest of quadplane, or
it is not effective
thanks to Leonard for noticing the bug!
2019-01-14 08:32:17 +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
153228bef5
Plane: call GCS update functions at quadcopter main loop rate
2018-12-10 12:52:41 +09:00
Peter Barker
7f5c0db949
Plane: adjust for new update entry points into GCS
2018-12-10 12:52:41 +09:00
IamPete1
c6e70c0454
Plane: add roll limit for tailsitters
...
Quadplane: add tailsitter pitch params
2018-12-01 09:40:07 +11:00
Peter Barker
ba3a369651
Plane: remove update_events scheduler shim
2018-11-27 10:07:13 +11:00
Michael du Breuil
1e220d3d37
Plane: Add support for mode change to QLand as a failsafe
2018-11-24 14:37:04 -08:00
Peter Barker
d4e88bc6ba
Plane: remove pointless wrappers around RC_Channels functions
2018-11-23 10:56:17 +11:00
Peter Barker
03b71e1123
Plane: remove pointless wrappers around gcs functions
2018-11-23 10:56:17 +11: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
Andrew Tridgell
432d786f82
Plane: pass height to landing gear update
2018-11-10 21:24:19 +11:00
Eugene Shamaev
01178a75e9
Plane: added landing gear support
2018-11-09 14:35:14 +11:00
Andrew Tridgell
f2b8067023
Plane: pass manual_rc_mask to iocmu mixer
2018-11-07 07:35:45 +11:00
Andrew Tridgell
c3d434bc35
Plane: pass mixing gain to iomcu
2018-11-07 07:35:45 +11:00
Andrew Tridgell
d5c29fc57e
Plane: use IOMCU mixing if available
2018-11-07 07:35:45 +11:00
Peter Barker
901664ce09
Plane: add support for RCn_OPTION (servorelay,camera)
...
Closes #7071
Closes #7666
2018-09-05 13:44:07 +10:00
Michael du Breuil
e4bbcd5ee3
Plane: Don't initilize motors with a trim value
2018-08-23 13:19:08 +10:00
Alexander Malishev
001948d40c
Plane: publish navigation info to OSD
2018-08-16 10:26:34 +10:00