priseborough
209e364190
Copter: Add body position offset to optical flow interface
8 years ago
Michael du Breuil
790ddeb04e
Copter: Use the compass calibrator autoreboot behaviour
...
(fixes a chance of not saving the second compass)
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
Randy Mackay
0aab175051
Copter: move proximity to g2
8 years ago
Randy Mackay
fcc2a1b378
Copter: integrate AP_Proximity into main vehicle
8 years ago
Jonathan Challinger
a393bd26d7
Copter: add stick gesture to begin compass calibration
8 years ago
Andrew Tridgell
cb5ca713a9
Copter: added AP_Button support
9 years ago
Randy Mackay
5461002eea
Copter: read rangefinder at 20hz
9 years ago
Randy Mackay
e489c3184c
Copter: rangefinder.enabled false if no range finders are configured
9 years ago
Randy Mackay
59070653cc
Copter: provide filtered range finder altitude to AC_WPNav
9 years ago
Randy Mackay
5ac13c0355
Copter: move rangefinder variables into structure
...
moved in rangefinder_alt, rangefinder_alt_health and rangefinder_enabled
9 years ago
Randy Mackay
c7f80324fa
Copter: tilt correct rangefinder
9 years ago
Randy Mackay
ba38b0234f
Copter: use rangefinder class's valid_range_count
...
Also read_rangefinder directly updates rangefinder_alt variable instead of returning distance
No functional change
9 years ago
Randy Mackay
949d5f7109
Copter: add rangefinder_alt_ok
...
Reduces some duplicate code,no functional change.
9 years ago
Randy Mackay
7689315ba2
Copter: rename sonar to rangefinder
9 years ago
Randy Mackay
028946ae9e
Copter: rename CONFIG_SONAR to RANGEFINDER_ENABLE
9 years ago
Jonathan Challinger
d916413a15
Copter: add CAL_ALWAYS_REBOOT option
9 years ago
bugobliterator
9a976963aa
Copter: support AP_AccelCal
9 years ago
Robert Lefebvre
9848d05a9d
Copter: Always send RPM data when sensor is enabled
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
lvale
549695181c
Copter: revised and uniformization of severity messages
9 years ago
Lucas De Marchi
6f4904189b
Replace use of println_P() with println()
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
Jonathan Challinger
7d67a00aa3
Copter: add compass_cal update function
10 years ago
Stewart Loving-Gibbard
7cb494d8e2
Copter: Moving to RSSI library for reading various kinds of RSSI, with the possibility of adding more.
...
* Retains ability to read from Analog Pin
* Adds ability to read RSSI from PWM channel value as is done in OpenLRSng, EazyUHF, and various other LRS.
* Handles any type of RSSI that provides RSSI values inverted - i.e. when the low value is the best signal and the high value is the worst signal.
* Has different key names from all existing RSSI parameters to provide for a clean break and easier distinguishing.
* Existing parameters are marked as obsolete
10 years ago
squilter
767b4da5b6
Copter: update send text severities
10 years ago
Andrew Tridgell
80ad9aa605
Copter: added RPM dataflash logging
10 years ago
Andrew Tridgell
1fdf7ec83f
Copter: added RPM sensor support
...
send result via MAVLink
10 years ago
Randy Mackay
82ad454864
Copter: log sonar_alt even when disabled
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
Jonathan Challinger
0dbe94c9a1
Copter: set motor air density ratio
10 years ago
Randy Mackay
6e623bce28
Copter: remove optical flow init failure message
...
the sensor only becomes healthy once it has received data which will
take a few seconds after initialisation meaning this failure message
will always be displayed even when the sensor is fine.
10 years ago
Randy Mackay
5e359c977f
Copter: replace range finder health with status
10 years ago
Paul Riseborough
133b8f5ad7
Copter: Allow EKF to pull data from range finder object
10 years ago
Randy Mackay
d7f624be39
Copter: remove baro_glitch protection
10 years ago
Leonard Hall
8eedb2c040
Copter: sent battery voltage and current to motors
10 years ago
Randy Mackay
02d0b05926
Copter: minor format fix
10 years ago
Andrew Tridgell
c151f24672
Copter: updates for new AP_Baro API
10 years ago
Randy Mackay
3ccc61c163
Copter: use battery.has_current method
10 years ago
Randy Mackay
c93c7af20c
Copter: move update_optflow to sensors.pde
...
No functional change
10 years ago
priseborough
a72b6b179b
Copter : Modify EKF optical flow data interface
10 years ago
Randy Mackay
b2badee172
Copter: reset baro glitch after baro init
10 years ago
Randy Mackay
5104d5f0fe
Copter: re-order init_sonar
...
No functional change.
10 years ago
Randy Mackay
f6ff1742d5
Copter: landing detector checks baro climb rate
...
Barometer climb rate must be -150cm/s ~ +150cm/s
This threshold is generous because we already use the inertial
navigation climb rate so this is just to catch cases where inertial nav
is very incorrect in it's climbrate estimates
10 years ago
Andrew Tridgell
c3d839456b
Copter: support logging while disarmed
10 years ago
Randy Mackay
aa3e34a44a
Copter: move update_optflow to sensors.pde
...
Also slightly shorten function name
10 years ago
Randy Mackay
3201a8dbca
Copter: integrate optflow_enable param move to optflow class
10 years ago