Peter Barker
0d19d7646f
ArduPlane: rename OpticalFlow class to AP_OpticalFlow
...
Brings us in-line with other classes in ArduPilot.
Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets
3 years ago
Peter Barker
3f4a472899
ArduPlane: move call to compass cal update up to AP_Vehicle
3 years ago
Henry Wurzburg
fcf29539de
Plane: fix attitude/AOA logging and rates
3 years ago
Iampete1
a592f76282
ArduPlane: change AC_FENCE to AP_FENCE_ENABLED
3 years ago
Iampete1
2b8958f931
Plane: Fence moved to vehicle
3 years ago
Peter Barker
b0bee613d4
ArduPlane: add and use AP_ICENGINE_ENABLE
3 years ago
Andrew Tridgell
25e317d6b1
Plane: check G_Dt to catch startup errors
...
this catches cases where constructors lead to G_Dt being incorrect
3 years ago
Peter Barker
cfff881013
Plane: let AHRS update orientation in its own time
3 years ago
Peter Barker
2784f8fa7f
Plane: remove persistent guided_WP_loc state
...
So instead of updating plane.guided_WP_loc and then calling
set_guided_WP(void) to copy that state into plane.next_WP_loc we pass
the new location in the call to set_guided_WP(const Location &loc).
avoidance was the only place which was not entirely over-writing
plane.guided_WP_loc. However, plane.next_WP_loc was updated to be the
current location when we entered guided mode. If we update the
horizontal/vertical avoidance now it is relative to the current
location, not the guided wp location, which could be quite important.
3 years ago
Andrew Tridgell
3fe9a55269
Plane: added APIs for lua ship landing
3 years ago
Peter Barker
266d384ca7
ArduPlane: rename AP_AHRS::get_position to get_location
3 years ago
Joshua Henderson
c1abcfb7c4
Plane: move Airspeed to AP_Vehicle
3 years ago
Peter Barker
0cf4254290
ArduPlane: move RPM sensor logging into AP_RPM
3 years ago
Iampete1
d473344177
Plane: add video stab log bit and log in ahrs_update
3 years ago
Peter Barker
89e3e27d3d
ArduPlane: move INS notch filter logging into INS
3 years ago
Peter Barker
173f36c145
ArduPlane: make vehicles write notch log messages
3 years ago
Peter Barker
e55eea961f
ArduPlane: create and use AP_OPTICALFLOW_ENABLED
3 years ago
Michel Pastor
685d34d615
Plane: fix bug causing wrong thr max and slew to be used during takeoff
...
Fix bug introduced in 3d34e061fe
which causes flight_stage to be
FLIGHT_NORMAL instead of FLIGHT_TAKEOFF during takeoff stage causing
itself at least the use of THR_MAX and THR_SLEWRATE instead of
respectively TKOFF_THR_MAX and TKOFF_THR_SLEW and perhaps has other
consequences.
Could be really bad if TKOFF_THR_MAX needs to be much higher
than THR_MAX or if TKOFF_THR_SLEW needs to be much lower than
THR_SLEWRATE and cause a crash on takeoff due to low airspeed or torque
roll
3 years ago
Peter Barker
17395f362e
ArduPlane: allow specification of Scheduler table priorities
3 years ago
Peter Barker
70562021ac
ArduPlane: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
3 years ago
Peter Barker
203103bae5
ArduPlane: ensure ENABLE_SCRIPTING is always defined
3 years ago
Iampete1
b9d240460b
Plane: remove SpdHgt and use TECS direct
3 years ago
Peter Barker
554e7f8d1c
ArduPlane: move EFI to AP_Vehicle
3 years ago
Bob Long
84a89b0b94
Plane: fix units in Plane::get_wp_distance_m()
3 years ago
Andrew Tridgell
baec0d83f2
Plane: moved accel cal update to vehicle code
3 years ago
Peter Barker
3d34e061fe
ArduPlane: add and use HAL_QUADPLANE_ENABLED
3 years ago
Iampete1
b18da48f39
Plane: remove AUTO_FBW_STEER
3 years ago
TunaLobster
d31f3eb4c5
Plane: Add TRIM_PITCH_CD FLIGHT_OPTIONS bits for GCS and OSD
3 years ago
Peter Barker
bfe9208849
ArduPlane: add and use HAL_BUTTON_ENABLE
4 years ago
Andrew Tridgell
497a7c9819
Plane: fixed EKF fly-forward flag for tailsitters
...
for tailsitters that are always using the VTOL controllers (forced
QAssist) we need a different way to determine the fly-forward flag
4 years ago
Andrew Tridgell
d1d0ab41d6
Plane: added option to log PIDs at full rate
...
useful for tuning quadplanes
4 years ago
Tom Pittenger
7f9bbc9cfd
Plane: fix ADSB stall speed units. Was accidently using meter/s instead of cm/s
4 years ago
Peter Barker
435988a300
Plane: don't reset home on GPS startup on watchdog reset
4 years ago
Hwurzburg
1e4a6c9236
ArduPlane: Correct OSD horizon for VTOL modes and TRIM_PITCH_CD in Fixed Wing
4 years ago
Peter Barker
c348f602d9
ArduPlane: use AP::compass().available in place of enabled()
4 years ago
Peter Barker
85e8b362a7
ArduPlane: stop using AHRS as conduit for Compass pointer
4 years ago
Iampete1
f18428b357
Plane: #ifdef scripting specific functions
4 years ago
Iampete1
0eab3faf32
Plane: use new tailsiter class
4 years ago
Andrew Tridgell
c0d942af4c
Plane: disable EKF3 default airspeed fusion by default
...
this fusion can cause problems with wind estimation, disable by
default for now
4 years ago
Peter Barker
055e82276e
ArduPlane: remove HIL support
4 years ago
Andrew Tridgell
0937d903a1
Plane: use HAL_EFI_ENABLED
4 years ago
James Harton
be3cc1b679
Docs: Change all references from dev.ardupilot.org to the appropriate documentation URLs.
4 years ago
Josh Henderson
5c8c961399
ArduPlane: Privatize AP_IntertialSensor Logging
4 years ago
Peter Barker
aa973c5245
ArduPlane: move handling of last-seen-SYSID_MYGCS up to GCS base class
4 years ago
Stavros Korokithakis
3c19579988
Plane: Push the TECS to climb in all circumstances
4 years ago
Stavros Korokithakis
29043d62e9
Add FLIGHT_OPTION to climb before RTL
4 years ago
James O'Shannessy
aae092b88f
ArduPlane: Remove all unused geofence capability
...
ArduPlane: Remove missed geofence logic
4 years ago
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.
4 years ago
Paul Riseborough
f5f13b9a47
Plane: Set default airspeed variance using airspeed range
4 years ago
Josh Henderson
cc1e395854
ArduPlane: privatize AHRS logging
4 years ago