Peter Barker
b19bfba0ec
Plane: use has_valid_input in place of checking throttle counter
3 years ago
Peter Barker
4068d57930
Plane: correct spelling of mode_lotier_qland
3 years ago
Andrew Tridgell
55d8afa1dd
Plane: support autotune for yaw rate control
3 years ago
Andrew Tridgell
de44dceda4
Plane: enable fixed wing autotune switch
3 years ago
Iampete1
1148bb1234
Plane: Quadplane: add loiter to alt then QLAND mode
3 years ago
Peter Barker
3d34e061fe
ArduPlane: add and use HAL_QUADPLANE_ENABLED
3 years ago
Iampete1
cca5e62c89
Plane: move RST_SWITCH_CH to RCx_OPTION
4 years ago
Iampete1
5f555e5314
Plane: move CHUTE_CHAN to RC Options
4 years ago
Iampete1
eeab196d91
Plane: move RST_MISSION_CH to RC option
4 years ago
Pierre Kancir
6062e4ee81
ArduPlane: use AUX_PWM_TRIGGER_LOW and AUX_PWM_TRIGGER_HIGH
4 years ago
Patrick José Pereira
cdc7f891a9
ArduPlane: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Andy Piper
d16872cca5
Plane: compile out ADSB mode if required
4 years ago
Samuel Tabor
10111f92d5
Plane: Rename SOARING_ENABLED to HAL_SOARING_ENABLED and don't compare to ENABLED.
4 years ago
Samuel Tabor
0a738395fa
Plane: Add THERMAL mode for thermal soaring.
4 years ago
Michael du Breuil
ee96ec7f0d
Plane: Support new AP_Vehicle::set_mode
5 years ago
Andrew Tridgell
ff400243e0
Plane: added a new TAKEOFF flight mode
...
takeoff then circle in direction of takeoff
5 years ago
Tom Pittenger
0270c57530
Plane: massive refactor and creation of Mode class
6 years ago
Peter Barker
40856fef56
Plane: remove vestiges of old PX4_MIXER code
6 years ago
Peter Barker
b574f4c1fc
Plane: move support for inverted flight to rc-aux-switch
...
Functional change here; if someone de-configures the rc aux switch in
flight they will remain inverted
7 years ago
Michael du Breuil
3e4288d604
Plane: Use RC_Channels instead of hal.rcin
7 years ago
Michael du Breuil
d52f5155f0
Plane: Rename rc failsafe state members
7 years ago
Peter Barker
5a8f01c19c
Plane: use send_text method on the GCS singleton
8 years ago
Andrew Tridgell
b83f50be0f
Plane: use new SRV_Channels API
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
9b83781b4f
Plane: fixed mixer arming error with FMUv4
...
thanks to Tim Gold for reporting this
9 years ago
murata
0e17cff099
Plane: if statements is simple.
9 years ago
Tom Pittenger
b187e1f9a6
Plane: add reason to set_mode()
9 years ago
Michael du Breuil
bb9086b87f
Plane: setup mixer in the one second loop when disarmed
9 years ago
Michael du Breuil
fc3ab7b691
Plane: rename var to avoid a var with the name of a c++ keyword
9 years ago
Tom Pittenger
af1407a155
Plane: disable parachute code when not enabled via compile option
9 years ago
Andrew Tridgell
125af1b856
Plane: added OVERRIDE_SAFETY parameter
9 years ago
Luis Vale Gonçalves
b7f3782e4e
Plane: Text revisions
...
text revisions
9 years ago
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
9 years ago
Lucas De Marchi
2c38e31c93
Remove use of PSTR
...
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.
This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.
AVR-specific places were not changed.
9 years ago
Andrew Tridgell
5d1d54a8cb
Plane: added CHUTE_CHAN parameter for manual release
9 years ago
squilter
583c087eca
Plane: update severities
10 years ago
Andrew Tridgell
f2c1010501
Plane: prevent mode switch changes changing WP tracking
...
this fixes a bug where a mode switch change during an AUTO mission
which does not change the flight mode would cause cross tracking to be
reset, so the plane will not correctly follow the desired track
Many thanks to Michael Du Breuil for the log that showed this bug
10 years ago
Andrew Tridgell
4aac2c5c96
Plane: trigger OVERRIDE_CHAN in px4io
...
setup the MODESWITCH channel as our OVERRIDE_CHAN, allowing for
instant manual passthru in px4io when OVERRIDE_CHAN goes above 1750
This makes for faster switching, and avoids bugs where a still enabled
FMU channel disables override
10 years ago
Andrew Tridgell
76c0293a85
Plane: added support for DO_AUTOTUNE_ENABLE
10 years ago
Andrew Tridgell
bc6a52f8db
Plane: fixed handling of OVERRIDE_CHAN on arming
...
When arming we need to ensure that we don't enable any channels
otherwise PX4IO will think that FMU is active and will stop running
the internal RC mixer
10 years ago
Andrew Tridgell
b92c2409e4
Plane: added local millis() and micros() to reduce code size a bit
10 years ago
Andrew Tridgell
18c37935c9
Plane: convert from .pde to .cpp files
10 years ago
Jonathan Challinger
4105edaa87
Plane: use hal.util soft_armed state
10 years ago
Andrew Tridgell
a0f69e06a7
Plane: prevent baro reset from OVERRIDE_CHAN
...
using OVERRIDE_CHAN would cause a baro reset as it would mean we are
temporarily disarmed, and the "reset baro and GPS when disarmed" check
would reset the baro
Now we only do the mixer update if disarmed
10 years ago
Andrew Tridgell
e30838a4ef
Plane: make OVERRIDE_CHAN behaviour exactly match FLTMODE6
...
this provides a convenient "real manual" flight mode
10 years ago
Andrew Tridgell
913004beb0
Plane: added OVERRIDE_CHAN parameter
...
this allows both for testing PX4IO override on the ground, and for
forced manual override while flying, including re-arming after in-air
reboot
10 years ago
Andrew Tridgell
ea086fa79c
Plane: added MAV_CMD_DO_INVERTED_FLIGHT support
...
allows for mission control over inverted flight
11 years ago
Andrew Tridgell
1bce4239a3
Plane: added AUTOTUNE flight mode
...
this is just like FBWA, but with automatic roll/pitch tuning
11 years ago
Andrew Tridgell
4bf140aeac
Plane: make next_WP and prev_WP be locations
...
having a command ID in them doesn't really make sense
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago
Andrew Tridgell
3277416aeb
Plane: fixed relative altitudes and resuming mission
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago