Robert Lefebvre
1bc13fb9c0
AC_AttitudeControl_Heli: Add Hover Roll Trim Scalar
9 years ago
Robert Lefebvre
0b33ef3862
AC_AttitudeControl: Add Hover Roll Trim functionality for helicopters.
9 years ago
Robert Lefebvre
62864c9e2b
AC_AttitudeControl_Heli: Remove commented out Cyclic Cross-Coupling code. Will resurrect in future.
9 years ago
Robert Lefebvre
b8ce23970d
AC_AttitudeControl_Heli: Implement Pirouette Compensation
9 years ago
Robert Lefebvre
f39ac7c900
AC_AttitudeControl_Heli: Add initialization of _flags_heli members
9 years ago
Jonathan Challinger
6784fd8625
AC_AttitudeControl: reserve parameter IDs
9 years ago
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.
9 years ago
Randy Mackay
550ba478c9
AC_PosControl: add shift_pos_xy_target
9 years ago
Randy Mackay
16a0281c92
AC_PosControl: remove unused set_vel_target
9 years ago
Randy Mackay
ee0abb1750
AC_PosControl: add set_jerk_xy
9 years ago
Randy Mackay
73f4533995
AC_PosControl: minor comment update
9 years ago
Randy Mackay
895a40893d
AC_PosControl: use_desvel_ff flag added
...
This allows turning on/off desired velocity feedforward without setting desired_vel.z to zero. Setting desired_vel.z to zero has the side effect of disrupting the landing detection which needs to know if we are trying to descend
9 years ago
Leonard Hall
aec66c5db6
AC_PosControl: faster z-axis slowdown when over speed
9 years ago
Leonard Hall
245f7ce268
AC_PosControl: allow desired vel z to be above speed limit
9 years ago
Leonard Hall
f55c31a157
AC_PosControl: add alt hold without feed forward
9 years ago
Andrew Tridgell
e3f7b002c2
AC_AttitudeControl: use non-flybar leaky I handling
...
The standard leaky-I handling works fine on a flybar, so better not to
have a special case that isn't needed
10 years ago
Leonard Hall
c8872e082d
AC_AttControl: rename set_throttle_out parameter
...
No functional change
10 years ago
Leonard Hall
cf5db31053
AC_PosControl: allow limiting lean angle to avoid alt loss
10 years ago
Leonard Hall
29ff5035b4
AC_AttControl: limit lean angle from throttle
10 years ago
Leonard Hall
b58cc7ea8d
AC_PosControl: move accel constraint to accel_to_lean_angles
10 years ago
Gustavo Jose de Sousa
d49f10d2e5
AC_AttitudeControl: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Randy Mackay
0bf1d04172
AC_AttControl: relax earth frame rate targets along with bf
10 years ago
Randy Mackay
157c97447d
AC_AttControlHeli: init passthrough_yaw
10 years ago
Randy Mackay
8b4805bfcb
AC_AttControl_heli: add MotorsHeli include
10 years ago
Randy Mackay
bf2bf2e3fa
AC_AttControl_Multi: new multirotor specific attitude control class
10 years ago
Randy Mackay
93dd7dd970
AC_AttControl: get_boosted_throttle purely virtual
10 years ago
Robert Lefebvre
14882bc6a8
AC_AttitudeControl: Remove unused takeoff jump #define
10 years ago
Andrew Tridgell
eeb97800ae
AC_AttitudeControl: allow for tail pass-thru in ACRO mode
...
this allows for all channels to be passed through
10 years ago
Randy Mackay
1e3e65e443
AC_AttControl: add shift_ef_yaw_target
...
This allows shifting the target heading in case the EKF shifts it's
heading estimate
10 years ago
Leonard Hall
cfc388934b
AC_AttControl: add set_accel_roll_max
...
Also equivalents for pitch and yaw
10 years ago
Randy Mackay
d2f93dd379
AC_PosControl: init flags
...
Resolves warning from Coverity
10 years ago
Randy Mackay
382f5d087f
AC_PosControl: explicitly set set_alt_target_from_climb_rate params
10 years ago
Randy Mackay
6ea60aa662
AC_PosControl: remove default from set_alt_target_from_climb_rate
10 years ago
Randy Mackay
11fee21f06
AC_PosControl: init accel_last_z_cms
10 years ago
Robert Lefebvre
4da54783fd
AC_AttitudeControl_Heli: Semantic Change. Motor Runup to Rotor Runup.
10 years ago
Robert Lefebvre
18bac524a3
Copter: TradHeli, change Rate FF LPF to 10Hz
10 years ago
Andrew Tridgell
521dae1c65
AC_AttitudeControl: use set_desired_rate() on PID controllers
...
this sets them up for logging of PIDs
10 years ago
Robert Lefebvre
353879cd2b
AC_AttitudeControl_Heli: Add Rate Accel FF to Yaw control
10 years ago
Robert Lefebvre
810b12a1ac
AC_AttitudeControlHeli: Change Rate Yaw FF LPF from 5Hz to 10Hz.
10 years ago
Robert Lefebvre
23adf2773c
AC_AttitudeControl: Remove To-Do comments for Attitude Rate logging.
10 years ago
Robert Lefebvre
915236f1f5
AC_AttitudeControl: Non-functional comment change
...
Don't encourage future misuse of g.rc3
10 years ago
Robert Lefebvre
e87ca6de6f
AC_PosControl: Change motors.get_throttle_out
...
to get_throttle to follow function renaming in AP_Motors
10 years ago
Randy Mackay
d1808c645d
AC_PosControl: recalc leash length on speed or accel change
...
This resolves an issue in which do-set-speed would not take effect until
one waypoint too late in a mission.
10 years ago
Tom Pittenger
4f1dd2c8a4
AC_AttitudeControl: compiler warning stuff
...
float to double promotion via cos & sin instead of cosf & sinf
(this code is commented out but in case it ever gets included it would be nice to be correct
10 years ago
Tom Pittenger
70bef20a29
AC_AttitudeControl: replace fabs() with fabsf()
10 years ago
Randy Mackay
3781f133d7
AC_AttControlHeli: remove unused definitions
10 years ago
Randy Mackay
bef5633ed5
AC_AttControlHeli: use params from parent class
10 years ago
Randy Mackay
7951346d72
AC_AttControl: bf_feedfoward_save made more concise
10 years ago
Leonard Hall
cf45a1cf3a
AC_AttitudeControl: add get accel and save ff
10 years ago
Leonard Hall
1900cc7582
AC_AttitudeControl: Enable FF by default
10 years ago