Randy Mackay
21e523b9ac
Copter: Acro trainer separated into limited and leveled
12 years ago
Randy Mackay
e32342163d
Copter: rename ACRO variables
12 years ago
Leonard Hall
d2deaaa686
Copter: Acro add rate constrain and combine limit calc
12 years ago
Randy Mackay
39ab4f62ef
Copter: add SPORT mode
12 years ago
Randy Mackay
9672742b42
Copter: bug fix to look_ahead_yaw
...
Fix received from David Dewey
Was incorrectly using the direction instead of heading when deciding
whether to point forward or not. Reduced YAW_LOOK_AHEAD_MIN_SPEED to
1m/s because bug meant it was nearly always pointing forward and 10m/s
(the old value) seemed too high
12 years ago
Randy Mackay
9a1a999fba
Copter: landing check changes
12 years ago
Randy Mackay
24d15517ff
Copter: clear thr accel I term on take-off
12 years ago
Randy Mackay
c3daf78340
Copter: reset loiter target when landed
12 years ago
Randy Mackay
fe412437c2
Copter: add flags for upper and lower throttle limits
...
Freeze desired altitude when motors hit a limit
12 years ago
Randy Mackay
c5851d2ddf
Copter: remove throttle rate's I and D calcs
12 years ago
Randy Mackay
740970efa6
Copter: remove stabilize's call to calc I terms
...
I terms all moved to rate controllers so this will be a small
performance improvement
12 years ago
Randy Mackay
c9a875da52
Copter: remove unused earth frame rate controllers
12 years ago
Randy Mackay
43379f20c3
Copter Motors: replace limit bitmask with structure
12 years ago
Robert Lefebvre
2a9f4bbbad
TradHeli: Creating new unified roll/pitch rate controller.
12 years ago
Robert Lefebvre
23ea151ca5
TradHeli: Fix Heli rate controller filter rates.
12 years ago
Robert Lefebvre
c812d07993
TradHeli: Creating motor_runup_complete bool which is to confirm that the heli motor is running. This will be used for advanced features in the future.
12 years ago
Robert Lefebvre
cea0812b82
TradHeli: Rate PID Improvement. Limit Integrator wind-up when PID output is saturated. Also a little bit of general clean-up for readability.
12 years ago
Randy Mackay
aefb38e486
Copter: remove param to disable accel based throttle controller
12 years ago
Randy Mackay
1685ff274d
TradHeli: compile error fix related to new ACRO
...
The motors_runup_complete must be a feature that Rob has implemented in
his clone which has not yet reached master. We will need to restore
these lost few trad-heli specific lines once Rob's changes make it to
master.
12 years ago
Leonard Hall
64ce9b017d
Copter: Body frame ACRO upgrade
12 years ago
Randy Mackay
f459d35e3e
Copter: roll-pitch fix to allow I to reduce
...
Contributed by Leonard Hall
12 years ago
Andrew Tridgell
da4137b731
Copter: changes for GPS field changes
12 years ago
Randy Mackay
227185fd0f
Copter: remove constraint on rate yaw controller
12 years ago
Randy Mackay
40612ed551
Copter: yaw limit fix to allow I to reduce
...
We now allow the I term even if we've hit the yaw limits as long as
updating the I term will reduce it
12 years ago
Randy Mackay
404cd5f3da
Copter: rename g.pid_throttle to g.pid_throttle_rate
...
Small code clean-up to make throttle rate controller's pid more obvious
12 years ago
Randy Mackay
b3da8a462f
Copter: CH6 tuning definition clean-up
...
Renamed and reorganised the CH6 #defines and parameter definitions
12 years ago
Randy Mackay
fcf2429e39
Copter: remove throttle controller's ability to limit lean angle
12 years ago
Randy Mackay
40f5226518
Copter: reset yaw angle only when motors not spinning
12 years ago
Randy Mackay
5203ba9fe3
Copter: alt hold feed forward filter
12 years ago
Andrew Tridgell
25c576cad7
Copter: replaced constrain() with constrain_float()
12 years ago
Randy Mackay
0b29754920
Copter: simplify roll-pitch stabilize controller
...
remove check of whether to freeze i term when attitude is less than 5
degrees from horizontal. I terms have been moved to the rate
controllers.
12 years ago
Andrew Tridgell
c2c037ec0d
Copter: use the right constrain() type in Attitude code
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Randy Mackay
a9da3c9d3d
Copter: remove unused throttle functions
...
removed get_pilot_desired_acceleration vand get_pilot_desired_direct_alt
were used for initial testing of the inertial alt-hold controller but
are no longer required.
12 years ago
Randy Mackay
745df9b13c
Copter: add SONAR_GAIN to tune reaction to sonar
...
Some users report the response to sonar is too violent, this allows that
reaction to be reduced
12 years ago
Randy Mackay
50515e28e1
Copter: replace fabs with fabsf
12 years ago
Randy Mackay
f5955d8915
Copter: auto climb and descent params removed
...
These params now reside in the AC_WPNav library
12 years ago
Randy Mackay
1ee825ee9a
Copter: move alt and wp checking to AC_WPNAV
...
RTL fix so that if it starts rtl-ing from above 80m it returns home
while descending instead of descending at initial position.
add get and set_target_alt_for_reporting
12 years ago
Randy Mackay
7c559333f5
Copter: get_throttle_rate's target_speed a float
12 years ago
Randy Mackay
ee7f40cfe9
Copter: Leonard's alt-hold feed forward
12 years ago
Randy Mackay
f82ce449d7
AC_WPNav: add angle limits and set from AC's throttle controller
12 years ago
Randy Mackay
1516972eaa
Copter: add panorama to CIRCLE mode
...
Yaw will slowly rotate if CIRCLE_RADIUS is set to zero
Circle center is projected forward CIRCLE_RADIUS from current position
and heading
12 years ago
Randy Mackay
49828eba7d
Copter: integrate AC_WPNav
12 years ago
Randy Mackay
24dd167607
Copter: ACRO bug fix from Jason
12 years ago
Andrew Tridgell
b280857025
Copter: use common angle wrap code
12 years ago
Randy Mackay
fdcb78ccf7
Copter: leonard's smoother alt-hold transition
...
Target altitude when entering alt-hold is based on a projection from
current alt and climb rate
12 years ago
Randy Mackay
37040adfaa
Copter: bug fix for auto missions over 320m
...
get_throttle_althold_with_slew's target_alt parameter defined as int16_t
(instead of int32_t) meaning missions with altitudes >320m could wrap
around and become negative.
12 years ago
Randy Mackay
f9539384a1
Copter: rename failsafe to failsafe_radio
...
Makes way for separation of failsafes for throttle, gps and gcs
12 years ago
Randy Mackay
476a6d0164
Copter: fix for acro throttle bug
12 years ago
Randy Mackay
d8515ff85e
Compass: basic compensation for motor interference
12 years ago
Randy Mackay
df1c0d92bd
Copter: manual throttle scaling fix
...
Scaling of bottom half of throttle was changed from THR_MIN ~ 500.
Previously it was from 0 ~ 500.
12 years ago