Commit Graph

30 Commits

Author SHA1 Message Date
Jonathan Challinger dfab21171b Copter: call renamed functions in AC_AttitudeControl 2015-12-09 19:58:37 +09:00
Jonathan Challinger 9d8b0f3d58 Copter: call renamed functions in AC_AttitudeControl 2015-12-09 19:58:30 +09:00
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'
2015-12-01 16:28:09 -02:00
Luis Vale Gonçalves 3199829d45 Copter: revisions to text strings sent to GCS 2015-11-27 16:16:58 +09:00
Randy Mackay 50e3c2ce3a Copter: minor comment updates
No functional change
2015-11-18 22:12:44 +09:00
bugobliterator 945bdee452 Copter: PILOT_VELZ_MAX and PILOT_ACCEL_Z take effect immediately 2015-11-18 22:12:41 +09:00
lvale 549695181c Copter: revised and uniformization of severity messages 2015-11-05 12:20:49 +09:00
Lucas De Marchi 84da1f5039 Rename gcs_send_text_P to gcs_send_text 2015-10-30 14:35:07 +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
Leonard Hall 411e75b917 Copter: feed forward only used for AltHold, Loiter, PosHold
land modes use non-feedforward alt hold
2015-10-28 20:21:54 +09:00
Leonard Hall 543f6fdcd4 Copter: AltHold limits lean angle to maintain altitude
get_pilot_desired_lean_angles function now takes angle max parameter but
all flight modes except AltHold simply pass in the ANGLE_MAX parameter
meaning no functional change for them
2015-09-07 15:10:12 +09:00
squilter 767b4da5b6 Copter: update send text severities 2015-08-25 14:05:25 +09:00
Randy Mackay a10a74d498 Copter: AUTOTUNE_MIN_D param to allow controlling minimum D 2015-08-23 14:56:39 +09:00
Leonard Hall a87e06e6c2 Copter: Autotune Final Tweak 2015-06-18 23:07:10 +09:00
Leonard Hall 7745fb21a7 Copter: remove set_accel_roll_max 2015-06-18 23:07:08 +09:00
Leonard Hall c8b522a064 Copter: AutoTune always backup gains regardless of which axis enabled 2015-06-18 23:07:02 +09:00
Leonard Hall c1134c1639 Copter: AutoTune remove unused local variable 2015-06-18 23:06:59 +09:00
Leonard Hall e8cc5d6312 Copter: Autotune aggressiveness tweeks 2015-06-18 23:06:56 +09:00
Leonard Hall 0b4d9b80e7 Copter: AutoTune increase max aggressiveness 2015-06-18 23:06:54 +09:00
Leonard Hall fe0d069eab Copter: Autotune log acceleration 2015-06-18 23:06:51 +09:00
Leonard Hall b336ab4de7 Copter: Autotune remove logging of BAD_GAINS event
This should never happen so no need to log
2015-06-18 23:06:48 +09:00
Leonard Hall 7957d5fc19 Copter: Autotune use set_accel_roll, pitch, yaw 2015-06-18 23:06:45 +09:00
Leonard Hall 196f6cf1b7 Copter: AutoTune definition and comment changes 2015-06-18 23:06:43 +09:00
Leonard Hall 21cd73e877 Copter: AutoTune bug fix to save feedforward setting 2015-06-18 23:06:40 +09:00
Leonard Hall 773984b4ea Copter: AutoTune record accel max values 2015-06-18 23:06:37 +09:00
Randy Mackay 58505d8242 Copter: autotune relaxes alt controller when landed 2015-06-11 20:21:06 +09:00
Randy Mackay 362a43c126 Copter: explicitly set alt_target_from_climb_rate parameter 2015-06-05 15:11:30 +09:00
Tim Ryan 62816b28f6 Copter: corrects C11 errors in AutoTune for OS X with clang. 2015-06-04 21:01:30 +09: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