Peter Barker
c6b9c84d1f
Copter: remove CLI
8 years ago
Peter Barker
f60389d4aa
Copter: use send_text method on the GCS singleton
8 years ago
Randy Mackay
cb76bd8f3d
Copter: compass set-initial-location uses ahrs location
...
Previously it could attempt to use a gps location even if gps was not being used
Also compass-accumulate moved to sensors.cpp
8 years ago
Randy Mackay
ec491d3c6b
Copter: init_compass get g.compass_enabled check
...
No functional change
8 years ago
Leonard Hall
8def1d257e
Copter: pass battery resistance estimate to motors
8 years ago
Randy Mackay
713c08672f
Copter: integrate AP_VisualOdom
8 years ago
Randy Mackay
51c00f8144
Copter: use only downward facing rangefinder
8 years ago
murata
8f926bd177
Copter: Unify from print or println to printf.
8 years ago
Michael du Breuil
0fec4af54b
Copter: Support the SYS_STATUS_SENSOR_BATTERY bit
8 years ago
Randy Mackay
af514eb101
Copter: remove some comments
8 years ago
Dmitry Prokhorov
3e993f955e
ArduCopter: Support for OLED display by Alexey Kozin
8 years ago
Andrew Tridgell
0f6d0c5ba9
Copter: combined tri, single, coax and multicopter into a single build
...
this allows copter to be just 2 builds, one for heli, and one for
everything else
8 years ago
Randy Mackay
21c7ea1df7
Copter: integrate AP_Beacon
8 years ago
Andrew Tridgell
2ed32a3ac0
Copter: added raw RFND logging
8 years ago
Peter Barker
236b8ab6b7
Copter: make EPM a subclass of AP_Gripper_Backend
8 years ago
Peter Barker
920868145c
Copter: support for AP_Gripper
8 years ago
floaledm
aa8cae82b0
Copter: redo of commit b24d850695
8 years ago
floaledm
34718b130a
Copter: update sensor status error flags independently of sending a sys_status message
...
Without this, there is no update to the sensor status flags in the Frsky
lib unless there's an active Mavlink connection configured to send
extended_status1
8 years ago
Andrew Tridgell
e8b9c815fc
Copter: updates for EKF API changes
8 years ago
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