Randy Mackay
472f54ce45
Copter: initialise compass_mot interference_pct variable
...
resolves a compiler warning
9 years ago
Lucas De Marchi
2591261af6
Global: rename min and max macros to uppercase
...
The problem with using min() and max() is that they conflict with some
C++ headers. Name the macros in uppercase instead. We may go case by
case later converting them to be typesafe.
Changes generated with:
git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)max(/\1MAX(/g'
git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)min(/\1MIN(/g'
9 years ago
Luis Vale Gonçalves
3199829d45
Copter: revisions to text strings sent to GCS
9 years ago
Caio Marcelo de Oliveira Filho
c7acc46d09
Copter: use millis/micros/panic functions
9 years ago
lvale
549695181c
Copter: revised and uniformization of severity messages
9 years ago
Lucas De Marchi
89fc4f4b62
Replace use of send_text_P() with 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
Gustavo Jose de Sousa
fb5320bb25
ArduCopter: use compass get_{field,offsets}() functions
...
Both functions are equivalent, so we're going to simply use
get_{field,offsets}() instead of get_{field,offsets}_milligauss().
9 years ago
Staroselskii Georgii
68e0d57998
Copter: make Copter use milligauss
...
The telemetry and and logging is still in compass units, though. This
way, users won't need to recalibrate their compasses.
10 years ago
squilter
767b4da5b6
Copter: update send text severities
10 years ago
Randy Mackay
1af383253f
Copter: disable compassmot for TradHeli
10 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
10 years ago
Andrew Tridgell
554de1f2d7
Copter: added channel objects named after input function
...
this follows the pattern used in plane and rover
10 years ago
Robert Lefebvre
05f18bb014
Copter: Rename output_min() to enable_motor_output()
10 years ago
Randy Mackay
fbfc94cf69
Copter: remove GPS glitch and failsafe
...
The EKF failsafe now captures all failures that could lead to a bad
position including GPS glitches and a bad compass meaning we do not need
this protection in the main flight code.
10 years ago
Randy Mackay
3ccc61c163
Copter: use battery.has_current method
10 years ago
Jason Short
b57539a9ad
AP_Motors: throttle_pass_through accepts pwm
11 years ago
Randy Mackay
3c702e5fc5
Copter: compass mot configures all compasses
11 years ago
Andrew Tridgell
3362e42478
Copter: consider health of primary compass in SYS_STATUS, pre-arm and compassmot
...
this should prevent users from taking off with only secondary compass
11 years ago
Randy Mackay
2457dbf0cd
Copter: more checks before starting compassmot
...
additional checks that copter is landed and that compassmot calibration
isn't already being performed.
Returns ACK to ground station as process begins
11 years ago
Andrew Tridgell
76b60a1a52
Copter: added compassmot over MAVLink
...
use the MAVLink interact code to allow for compassmot over MAVLink
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago