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
Andrew Tridgell
872583f441
AC_AttitudeControl: removed fast_atan
10 years ago
Andrew Tridgell
84ac721340
AC_AttitudeControl: use M_PI_F instead of (float)M_PI
10 years ago
Andrew Tridgell
326b0b33ea
AC_AttitudeControl: revert AP_Math class change
10 years ago
Tom Pittenger
1bca81eaed
AC_AttitudeControl: compiler warnings: apply is_zero(float) or is_equal(float) and float to doubles
10 years ago
Randy Mackay
31edd6a72b
AC_PosControl: add_takeoff_climb_rate method
...
This function simply increments the current altitude target given a
climb rate and dt
10 years ago
Jonathan Challinger
ab2532a609
AC_AttitudeControl: constrain _angle_boost to avoid overflow
10 years ago
Tom Pittenger
84d3069a77
AttControl_Heli: fix compile warning re member init order
10 years ago
Jonathan Challinger
12957867fd
AC_PosControl: fix thr twitch when changing modes
10 years ago
Jonathan Challinger
738b1967ad
AC_PosControl: use LowPassFilterVector2f
10 years ago
Jonathan Challinger
8f667b3d1c
AC_PosControl: fix up comments
10 years ago
Jonathan Challinger
87500d9d70
AC_AttitudeControl: use new lowpass filter
10 years ago
Leonard Hall
c2a6a0a9e2
AC_PosControl: add accel filter parameter
10 years ago
Leonard Hall
a632a57d79
AC_PosControl: accessors to log z-axis vel and accel
10 years ago
Leonard Hall
0aca3c4be6
AC_PosControl: add relax Alt Hold controllers
10 years ago
Leonard Hall
24b8d32b0e
AC_AttitudeControl: add comment
10 years ago
Leonard Hall
7cb3c4ba39
AC_PosControl: add feed forward to Alt Hold
10 years ago
Randy Mackay
a1e6a3ee32
AC_PosControl: minor format fix
10 years ago
Jonathan Challinger
3e0dab7b2d
AC_PosControl: remove accel error filter and set throttle output filter instead
10 years ago
Jonathan Challinger
b7f7624aac
AC_AttitudeControl: add throttle filter cutoff parameter to set_throttle_out functions
10 years ago
Jonathan Challinger
518e798f53
AC_AttitudeControl: rework angle_boost
10 years ago