Michael du Breuil
35bd143532
Plane: Update GPS before updating current_loc
...
Fixes 20ms of extra induced lag on the DCM position estimate
6 years ago
Michael du Breuil
ea031d720a
Plane: Fix RangeFinder init
6 years ago
Pierre Kancir
3f5999a6ad
ArduPlane: move location_update to Location and rename to offset_bearing
6 years ago
Pierre Kancir
58328da5f3
ArduPlane: move get_bearing_cd to Location and rename to get_bearing_to
6 years ago
Michael du Breuil
8802ea10e5
Plane: include FWversion
6 years ago
Michael du Breuil
171f4ac3d3
Plane: Include needed AP_Logger header
6 years ago
Tom Pittenger
ade6281923
Plane: use #if ADVANCED_FAILSAFE == ENABLED just like Rover and Copter
6 years ago
Tom Pittenger
ca40c7f2d5
Plane: create afs_plane.h to match copter and rover structure
6 years ago
IamPete1
520f5f7894
Plane: add crow flap options paramiter
6 years ago
Patrick José Pereira
c484b93314
Plane: Use new RC_Channel AUX_FUNC
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
6 years ago
Tom Pittenger
fbe483ccac
Plane: gracefully-ish fail set_mode(qmode)
6 years ago
Tom Pittenger
b8a44e6e52
Plane: rearranged some set_mode checks
6 years ago
Tom Pittenger
05774a8a5a
Plane: fixed some rebase duplicate code.
6 years ago
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
6 years ago
Peter Barker
29258f6752
Plane: rely on AP_Mission to emit GCS text
6 years ago
Peter Barker
903be58436
Plane: add param conversion from MAG_ENABLE to COMPASS_ENABLED
6 years ago
Peter Barker
73707077b5
Plane: move enabled parameter into compass library
6 years ago
Peter Barker
a372428ec5
Plane: use sanitize method rather than location_sanitize function
6 years ago
Peter Barker
f004765494
Plane: fix incorrect misleading comment
6 years ago
Andrew Tridgell
954b6ae791
Plane: fixed WAIT_ALTITUDE wiggle
...
when wiggle value is zero servos should be neutral
6 years ago
Tom Pittenger
cd0879cff0
Plane: rename dataflash to logger
6 years ago
Tom Pittenger
7030dbc766
Plane: rename dataflash to logger
6 years ago
Peter Barker
bbc38f41eb
Plane: use convenience manual_override method
6 years ago
Mark Whitehorn
b3f093b877
Plane: remove trig calls from constexpr
6 years ago
Peter Barker
7dafde5783
Plane: stop passing dataflash into handle_radio_status
6 years ago
Mark Whitehorn
e0765747e7
Plane: add new tailsitter bodyframe roll option
6 years ago
Peter Barker
d0bf257357
Plane: move various sensor status flag updates up
6 years ago
IamPete1
ffc94f19cd
Plane: use AHRS view for all vtol modes
6 years ago
Peter Barker
6c5c14381f
Plane: move devo telemetry handling to GCS
6 years ago
Peter Barker
1a55f0ffab
Plane: FrSky support has moved to GCS
6 years ago
Peter Barker
d58a15ca32
Plane: fill Notify flag for flying
6 years ago
Peter Barker
f940564f2b
Plane: use enum class for AltFrame enumeration
6 years ago
Mark Whitehorn
825055d736
Plane: add rate-only option for QACRO mode
6 years ago
Mark Whitehorn
6414f0e48e
Plane: skip plane assignments in QACRO
6 years ago
Mark Whitehorn
abfeee3a3d
Plane: fix indentation
6 years ago
Andrew Tridgell
3907466f9d
Plane: added TKOFF_TIMEOUT parameter
...
this allows for a timeout on auto-takeoff. This can be combined with
other takeoff parameters to allow the user to abort a hand-launch
after the motor has started without GCS interaction.
The 4m/s threshold is a bit arbitrary. We could make that a parameter
in the future if it is needed
6 years ago
Andrew Tridgell
2b6210d594
Plane: use WP height for height above ground in vtol landing
...
this allows for landings above or below the takeoff height without
requiring the use of terrain data. It allows both the use of vfwd
motor for holding against wind, and the correct height for land final
descent rate
6 years ago
Andrew Tridgell
b4103d04cc
Plane: never use vfwd motor if vtol motors shutdown
6 years ago
Andrew Tridgell
7908ad437e
Plane: allow fwd motor to run in VTOL land hor positioning
...
this fixes an issue with vtol landings below the takeoff point
6 years ago
Peter Barker
0edba9070f
Plane: move sending of RPM message up
6 years ago
Peter Barker
d489d9a585
Plane: compass init never fails
6 years ago
Peter Barker
ca7566fff9
Plane: use enum class for ArmingMethod and ArmingRequired
6 years ago
Peter Barker
cbb0bfb809
Plane: is_flying_vtol: if spool mode is shut down we are not flying
...
The subsequent check for get_throttle passes if you switch from QHOVER
to MANUAL on the ground while armed. get_throttle returns > 0.01 - but
the motors are shut down so no output occurs.
6 years ago
Peter Barker
cf45b54070
Plane: quadplane use prearm checks from Attitude and Position controllers
6 years ago
Mark Whitehorn
f7bf10fcfc
ArduPlane: add rudder to tailsitter gain scaling
6 years ago
Mark Whitehorn
4a6b97828f
ArduPlane: add tailsitter input type TAILSITTER_INPUT_BF_ROLL
6 years ago
Mark Whitehorn
01d6f1d932
ArduPlane: add body-frame yaw mode for tailsitters
6 years ago
IamPete1
872c3df45c
Plane: tailsitter pull in copter ouputs from AP_motors
6 years ago
Peter Barker
bd444d97dc
Plane: move sending of airspeed_autocal into AP_AirSpeed
6 years ago
Mark Whitehorn
6e4a2b97f9
ArduPlane:add subclass for copter tailsitters
...
cleanup and add tailsit_motmx
add constexpr and motor mask check
add support for tricopter tailsitter
don't call output_motor_mask unless armed
fix whitespace
6 years ago