Jonathan Challinger
dfab21171b
Copter: call renamed functions in AC_AttitudeControl
9 years ago
Jonathan Challinger
9d8b0f3d58
Copter: call renamed functions in AC_AttitudeControl
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
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
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
Tom Pittenger
2e191e5a3d
Copter: replace fabs() with fabsf()
10 years ago
Andrew Tridgell
d8146ff3f6
Copter: revert AP_Math class change
10 years ago
Tom Pittenger
20dc48ed16
Coter: compiler warnings: apply is_zero(float) or is_equal(float) and float to doubles
10 years ago
Robert Lefebvre
8610da7fbc
Copter: autopilot modes to check for motor interlock status
10 years ago
Tom Pittenger
66c7090f00
Copter: fix compile warnings by converting .f to .0f
10 years ago
Jonathan Challinger
91a03ae0e7
Copter: add PILOT_THR_FILT and call set_throttle_out functions with that value
10 years ago
Jonathan Challinger
b27b9dd86e
Copter: use new throttle interface
10 years ago
Randy Mackay
b10730f35c
Copter: remove THR_MAX parameter
10 years ago
Jonathan Challinger
ecefe78417
Copter: interpret input in stabilize as a tilt vector
10 years ago
Randy Mackay
74ac79ba10
Copter: Drift uses throttle_zero flag
10 years ago
Randy Mackay
199dc3454d
Copter: replace GPS_ok with position_ok
...
position_ok uses the EKF's filter status if the EKF is being used
otherwise it falls back to the GPS based checks used by inertial nav
10 years ago
Jason Short
fe74a11b4e
Copter: Drift mode gain changes and roll control through ch4
10 years ago
Jason Short
82481f30a3
Copter: move drift thr assist to separate function
...
no changes in functionality.
11 years ago
Randy Mackay
e9861de2ac
Copter: fix to drift's yaw rate
...
The ACRO_P parameter needs to be multiplied by the roll and pitch
velocities to calculate the final yaw rate
11 years ago
Randy Mackay
08801eebf2
Copter: integrate AttControl's set_yaw_target_to_current_heading
11 years ago
Randy Mackay
77d5d682c1
Copter: integrate init_targets rename to relax_bf_rate_controller
...
Also remove unnecessary init_targets from flight mode init functions.
11 years ago
Randy Mackay
729026d80c
Drift: get velocity using const reference
11 years ago
Randy Mackay
d9fd577fb0
Copter: add Drift throttle assist constraints
11 years ago
Jason Short
50dcbe6549
Copter: Drift throttle assist range increased
...
Throttle assist is applied from 213 ~ 787
Deadband and constraint added
11 years ago
Jason Short
bccf1de563
Copter: add drift throttle assist
11 years ago
Randy Mackay
e89600afe3
Copter: integrate smoothing gain into flight modes
11 years ago
Randy Mackay
b259510095
Copter: init roll/pitch input filters
11 years ago
Randy Mackay
3ccd1ad170
Copter: integrate AttControl method name changes
11 years ago
Randy Mackay
aa79e22ce0
Drift: bug fix for throttle
11 years ago
Randy Mackay
75b20bde7c
Copter: control_acro, drift use trig from ahrs
11 years ago
Randy Mackay
2c1ec9d0c0
Copter: remove control_roll, pitch, yaw from control files
11 years ago
Randy Mackay
70c8b622e2
Copter: drift moved to control_drift
11 years ago