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
Randy Mackay
9446e9fd2e
Plane: integrate AP_Mission library
11 years ago
Andrew Tridgell
8574303a94
Plane: treat PWM below 900 as invalid for mode switch
...
the FrSky X8R receiver will briefly give a PWM of 874 on channel 5
when connection is lost to the transmitter. We need to ensure this
doesn't cause a mode switch
11 years ago
Andrew Tridgell
9282c8d0d9
Plane: allow for a wider range of values on the control switch
11 years ago
Andrew Tridgell
4f242aedec
Plane: fixed a bug where mode would not revert on geo-fence disable
...
the mode would not revert if the switch was in position 0
11 years ago
Andrew Tridgell
6ed78c89ac
Plane: don't read control switch when ch3 is in failsafe
...
use ch3_counter not just the final flag
12 years ago
Andrew Tridgell
51b9cf3e76
Plane: move failsafe variables into a structure
...
this makes the logic a bit easier to follow
12 years ago
Andrew Tridgell
139acc0530
Plane: ignore control mode changes when in throttle failsafe
...
this prevents the receiver causing a temporary mode change
12 years ago
Pat Hickey
92b0c302f2
ArduPlane: Ported to AP_HAL
12 years ago
Andrew Tridgell
1104287aa2
Plane: use enum FlightMode in more places
12 years ago
Andrew Tridgell
764d86216e
APM: fixed mission reset by setting waypoint to zero
...
this does a full mission reset (equivalent to rebooting)
13 years ago
Andrew Tridgell
d13d117e61
APM: removed reset_I() and instead auto-reset integrator in PID library
...
this prevents us resetting key integrators on waypoint change, while
still preventing old integrators being used when a PID starts to be
used again
13 years ago
uncrustify
c69772388b
uncrustify ArduPlane/control_modes.pde
13 years ago
Andrew Tridgell
5498d347f3
APM: Added RST_MISSION_CH option
...
this allows a pilot to reset the mission using a transmitter
switch. Very useful for repeating a mission during testing
13 years ago
Andrew Tridgell
a823c9ceae
APM: removed cli slider and dipswitch options
...
use mavlink/eeprom for all config
13 years ago
Andrew Tridgell
301ab00c5b
APM: added control switch debouncer
...
this adds a switch debouncer, similar to the one used in
ArduCopter. I'm adding this after a flight on the weekend where noise
on the control mode channel caused a mode change away from auto.
To prevent this change adding excessive mode switch latency, it also
moves the reading of the control switch to the 10Hz loop, away from
the 3.3Hz loop. That gives us 0.2s delay in mode switch changes and
allows for spikes in the control mode for 0.1 seconds without changing
mode.
13 years ago
Doug Weibel
8e17b8d6d4
Correct a bug in throttle failsafe feature
13 years ago
Andrew Tridgell
e99db6526f
APM: added RST_SWITCH_CH parameter
...
This is useful for switching back to the mode indicated by the control
switch after a failsafe or fence breach. I was just changing modes
each time, but it is far more elegant to have a spring loaded switch
for "I am ready to take control again", rather than continually
changing modes.
13 years ago
Andrew Tridgell
86927ac0a5
ArduPlane: rename purple to APM2
13 years ago
Andrew Tridgell
3a0b1d1903
purple: there are no dipswitches on the purple board
13 years ago
Andrew Tridgell
20bfe6b01d
use gcs_send_text_fmt() and cleanup a few old debug lines
14 years ago
Amilcar Lucas
b7a0d8836a
This is the real HEAD of the APM_Camera branch. Seams that lots of changes got lost in the SVN to GIT port
14 years ago
Andrew Tridgell
609ae8359d
import APM_Camera branch from SVN
14 years ago
Andrew Tridgell
e0dc1271d6
imported ArduPlane from ArduPilotMega svn
14 years ago