Luis Vale Gonçalves
b7f3782e4e
Plane: Text revisions
...
text revisions
9 years ago
lvale
e18181e5c2
Plane: Uniformization of severities
...
Plane uniformization of severities
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
squilter
583c087eca
Plane: update severities
10 years ago
Andre Kjellstrup
baf4989a80
Plane: Ignore low voltage failsafe during landing
...
Log it, but do not switch to RTL if already in final or landing.
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
Tom Pittenger
c4c47cba66
Plane: compile warnings: float to double. print statements require doubles
10 years ago
Michael Day
3b62592b26
ArduPlane: attempt to send GCS a message when the GCS heartbeat is not detected.
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
cdd36b2c41
Plane: use AP_ServoRelayEvents library
11 years ago
Andrew Tridgell
2045591bed
Plane: fixed servo and relay repeat code
11 years ago
Andrew Tridgell
e4e5c92453
Plane: fixed relay handling
...
the parameters were badly out of whack!
11 years ago
Randy Mackay
c64d444b5a
Plane: integrate BattMonitor
12 years ago
Andrew Tridgell
95a696ea36
Plane: enable failsafe battery reporting
12 years ago
Andrew Tridgell
43ffe91546
Plane: added FS_ACTION of 2 for glide
...
this allows people without specified settings in their receiver for
failsafe to choose FBWA zero throttle glide on throttle failsafe. That
can be a better choice when flying at a R/C club field
12 years ago
Andrew Tridgell
a00e4a1e83
Plane: send GCS message on relay change
...
makes it easier to debug
12 years ago
Andrew Tridgell
6e288551ab
Plane: fixed reversion to pre-failsafe mode
...
if AUTO was entered using GCS, we need to switch back to the old mode,
not control channel
12 years ago
Andrew Tridgell
2d5deddd30
Plane: set mode CIRCLE on short failsafe in AUTO
...
this makes the code match the docs
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
113bc20f8a
Plane: added a new CRUISE flight mode
...
See
http://diydrones.com/group/apmusergroup/forum/topics/feature-request-hold-heading-mode
this fixes issue #438
12 years ago
Andrew Tridgell
608007361b
Plane: added initial implementation of ACRO mode
...
rate based control with attitude locking
12 years ago
Andrew Tridgell
a5bda3ffef
Plane: changed to using a "aircraft parameters" structure
...
this structure can be passed to libraries to give them easy access to
critical user parameters
12 years ago
Andrew Tridgell
dd633fcf3f
Plane: make voltage and battery capacity failsafe settable at runtime
...
this also fixes issue #292
12 years ago
Andrew Tridgell
dfb14d760b
Plane: added HIL_SERVOS option
...
this allows for real servo output in HIL
12 years ago
Andrew Tridgell
b6295c12e1
Plane: fixes for new AP_Relay interface
12 years ago
Andrew Tridgell
dc2b11704f
Plane: fixed a build warning
12 years ago
Andrew Tridgell
feca411943
Plane: added new TRAINING mode
...
this mode gives manual control when the roll or pitch is within the
set limits (the same limits as FBW mode), and prevents the pilot from
flying beyond those limits, essentially a "attitude limited manual"
mode
12 years ago
Andrew Tridgell
9a2e77b797
Plane: fully disable relay and mount code on APM1-1280
...
this saves some more flash space
12 years ago
Pat Hickey
92b0c302f2
ArduPlane: Ported to AP_HAL
12 years ago
Andrew Tridgell
7e8ef0ae95
APM: fixed handling of DO_REPEAT_SERVO and DO_REPEAT_RELAY
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
9b133019b3
uncrustify ArduPlane/events.pde
13 years ago
rmackay9
6d489947cf
ArduPlane: replaced many "int" with "int16_t", "long" with "int32_t"
13 years ago
Andrew Tridgell
5bfd1200d6
APM: change variables to use _cm, _cd and _ms suffix for units
...
this makes it less likely that we mix up units
13 years ago
Andrew Tridgell
511f65e2ef
APM: fixed reset of control switch when short_fs_action is disabled
...
When FS_SHORT_ACTN is 0, we should not re-read the control switch
unless we changed mode on the initial short fs action
13 years ago
Andrew Tridgell
c042ef1298
APM: fixed some build warnings
13 years ago
Doug Weibel
8e17b8d6d4
Correct a bug in throttle failsafe feature
13 years ago
Doug Weibel
2f962fe6da
Augment failsafe gcs_send_text message
13 years ago
Doug Weibel
7960e7963c
Add Guided mode to failsafe handling
13 years ago
Amilcar Lucas
7b4ccffa53
Moved relay control functions to it's own library
14 years ago
Andrew Tridgell
20bfe6b01d
use gcs_send_text_fmt() and cleanup a few old debug lines
14 years ago
Andrew Tridgell
e61d742345
GCS: make the two GCS links gcs0 and gcs3
...
the artifical separation between 'gcs' and 'hil' just leads to
confusion. This also simplifies the code a bit more, and saves us a
bit more text
14 years ago
Doug Weibel
8c9757a8d1
Correct state machine processing for long failsafe event following short failsafe from lower modes
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