Commit Graph

438 Commits

Author SHA1 Message Date
Lucas De Marchi 20c6ffc5e3 Replace use of UARTDriver::printf_P() with UARTDriver::printf()
This also starts to show warnings on places that were already using
wrong printf format strings.
2015-10-30 14:35:25 +09:00
Lucas De Marchi 6f4904189b Replace use of println_P() with println() 2015-10-30 14:35:22 +09:00
Lucas De Marchi 831d8acca5 Remove use of PROGMEM
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:

    git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
    git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'

The 2 commands were done so we don't leave behind spurious spaces.

AVR-specific places were not changed.
2015-10-30 14:35:16 +09:00
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.
2015-10-30 14:35:04 +09:00
Caio Marcelo de Oliveira Filho 49a42dc985 SITL: use a SITL namespace 2015-10-22 11:04:42 -02:00
Andrew Tridgell 053194fd51 Copter: added EK2_* parameters and EKF2 instance 2015-09-23 11:56:33 +10:00
Randy Mackay 7db77482f5 Copter: precision landing velocity PI object
Follow up changes required to actually use this PI during landing
2015-08-31 18:00:32 +09:00
Randy Mackay 26ded641db Copter: integrate Precision Landing lib 2015-08-31 18:00:28 +09:00
Robert Lefebvre 990761a13b Copter: Create new heli RSC RC Channel object. 2015-08-31 11:27:50 +09:00
Fredrik Hedberg 66d9d38750 Copter: Use AP_MotorsHeli_Single for HELI_FRAME. 2015-08-31 11:27:32 +09:00
Andrew Tridgell ff934d5bca Copter: added FS_CRASH_CHECK parameter
this allows automatic crash detection to be disabled
2015-08-31 12:15:46 +10:00
Andrew Tridgell 90909f2b4a Copter: added DISARM_DELAY parameter
this allows automatic disarming to be disabled, or set to a shorter or
longer time as appropriate for the user
2015-08-31 11:44:08 +10:00
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
2015-08-29 08:05:59 +10:00
Randy Mackay 71cc89d107 Copter: add ACCEL_Z_FILT_HZ parameter description
Also fixed parameter links to ATC, BATT and MOT libraries
2015-08-26 11:17:50 +09:00
Randy Mackay 43fa9c8ae3 Copter: fix Autotune param descriptions 2015-08-23 14:56:41 +09:00
Randy Mackay a10a74d498 Copter: AUTOTUNE_MIN_D param to allow controlling minimum D 2015-08-23 14:56:39 +09:00
Stewart Loving-Gibbard d1f5a2988d Copter: fix spelling errors in Parameters.cpp 2015-08-18 09:48:52 +09:00
Randy Mackay c8ecb1bac7 Copter: fix PILOT_TKOFF_DZ param description 2015-08-13 10:40:26 -07:00
Randy Mackay c324d4e89b Copter: fix ANGLE_MAX param description
Thanks to Hamish for finding this
2015-08-13 10:35:32 -07:00
Andrew Tridgell 1fdf7ec83f Copter: added RPM sensor support
send result via MAVLink
2015-08-12 15:03:50 +10:00
Randy Mackay 0af7fb93e5 Copter: rename param to MotorsMulticopter 2015-07-21 16:25:58 +09:00
Robert Lefebvre cdfdb340df Copter: Use AP_Motors_Multirotors class for params 2015-07-21 16:24:46 +09:00
Randy Mackay 063faa0383 Copter: add RTL_CLIMB_MIN
Vehicle climbs at least this many cm when entering RTL
2015-07-13 20:38:52 +09:00
Randy Mackay c33453fcf9 Copter: rename ESC param to ESC_CALIBRATION 2015-07-13 09:33:37 +09:00
Randy Mackay 1a911553eb Copter: allow disabling ESC calibration 2015-07-13 09:33:35 +09:00
Lucas De Marchi 0bc09adc78 ArduCopter: use ARRAY_SIZE macro 2015-07-07 07:56:30 +10:00
Randy Mackay c57b4f9c8c Copter: add Flip, AutoTune to FLTMODE param descriptions 2015-07-02 13:24:20 +09:00
Randy Mackay e60f53d144 Copter: arming check Bitmask param description 2015-06-27 19:20:52 +09:00
Andrew Tridgell 58b1702552 Copter: fixed pde paths 2015-06-16 09:59:39 +10:00
Randy Mackay 1bd6728e21 Copter: add All+FullIMU to LOG_BITMASK param description 2015-06-11 20:21:01 +09:00
Randy Mackay ce1031a5bd Copter: remove AP_AHRS_NAVEKF_AVAILABLE checks
Copter requires an EKF
2015-06-10 12:18:38 +09:00
Randy Mackay aa05325b54 Copter: add althold as ekf failsafe action 2015-06-10 12:06:08 +09:00
Randy Mackay 4408f01f39 Copter: rename ekf_check_thresh to fs_ekf_thresh 2015-06-10 12:06:06 +09:00
Michael Oborne ebeb2b7ebb Copter: add bitmask documentation 2015-06-04 21:33:31 +09:00
Randy Mackay 738e4d89db Copter: default RC_FEEL to Medium 2015-06-03 11:38:54 +09:00
Andrew Tridgell bfb105fa5a Copter: changes for new AHRS API 2015-06-01 16:16:59 +10:00
Andrew Tridgell 278883c521 Copter: finished conversion to .cpp files
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2015-05-30 15:21:19 +09:00
Andrew Tridgell 356ece3402 Copter: rename .pde files to .cpp files 2015-05-30 15:21:15 +09:00