Jonathan Challinger
630e5378da
AC_PosControl: add get_horizontal_error
9 years ago
Leonard Hall
80bda572ba
AC_AttutudeControl: Yaw shift fix
9 years ago
Leonard Hall
8737f6b62d
AC_AttitudeControl: enhanced quaternion attitude controller
9 years ago
Leonard Hall
117ae89505
AC_AttitudeControl: increase SLEW_YAW default to 60deg/sec
9 years ago
Randy Mackay
a1548405c1
AC_AttitudeControlHeli: fix althold lean angle max
9 years ago
Andrew Tridgell
d1b28aaed9
AC_AttitudeControl: fixed factor of 1000 error in init_takeoff
9 years ago
Randy Mackay
ec7c1ab0b0
AC_PosControl: comment fix to set_alt_max method
...
No functional change
9 years ago
Leonard Hall
dcbb071c07
AC_PosControl: Move hover throttle calculation to AP_Motors
9 years ago
Randy Mackay
b27da7699e
AC_AttitudeControlMulti: get_throttle_avg_max made private
...
Also fixed up method's description
9 years ago
Randy Mackay
da946288a2
AC_AttitudeControl: rename throttle_ave_max to throttle_avg_max
9 years ago
Randy Mackay
570920c7d7
AC_AttitudeControlMulti: run control_monitor_update in rate_controller_run
9 years ago
Leonard Hall
1639e22b74
AC_AttitudeControl: set desired_vel for reporting purposes even when not used
9 years ago
Randy Mackay
558f29b95c
AC_AttitudeControl: control mixing made protected
9 years ago
Leonard Hall
9bd8878c8b
AC_AttitudeControlHeli: fix update_althold_lean_angle_max
9 years ago
Leonard Hall
096bdd67f8
AC_AttitudeControl: add ATC_ANG_LIM_TC parameter
...
This allow adjusting the reponse to limit lean angles to reduce altitude loss
9 years ago
Randy Mackay
dafc45eb26
AC_AttitudeControl: move get_althold_lean_angle_max to parent class
9 years ago
Leonard Hall
3d27ecca92
AC_AttitudeControl: add TC for Alt_Hold angle limit
9 years ago
Randy Mackay
7ff0fcb25d
AC_AttitudeControl: multicopter specific rate_controller_run
9 years ago
Randy Mackay
b7431b7d0c
AC_AttitudeControl: update throttle rpy mix on every iteration
9 years ago
Leonard Hall
ca2977decf
AC_AttitudeControl: set throttle vs attitude priority for flipped state
...
When performing a flip we want to allow throttle to go high to provide
maximum attitude control
9 years ago
Leonard Hall
1fb4c12cd0
AC_AttitudeControl: move in throttle vs attitude prioritisation
...
Previously this prioritisation of throttle vs attitude was done in the
AP_Motors library
9 years ago
Randy Mackay
0870ce9fc1
AC_AttitudeControl: remove get_throttle_boosted from parent class
...
This is only called from multicopters
9 years ago
Leonard Hall
25c77c154f
AC_AttitudeControl: rename get_boosted_throttle to get_throttle_boosted
9 years ago
Leonard Hall
35ef761deb
AC_AttitudeControl: Move set_throttle_out to _Multi and _Heli
9 years ago
Andrew Tridgell
e070aeebe3
AC_AttitudeControl: added accessors for P and D RMS controller values
9 years ago
Andrew Tridgell
1c463e3f3b
AC_AttitudeControl: log rms P and D separately
...
as discussed with Leonard
9 years ago
Tom Pittenger
64c2510be9
AC_AttitudeControl: fix compile warning float to double promotion in string conversion
9 years ago
Andrew Tridgell
b4bdfa2451
AC_AttitudeControl: return roll, pitch and yaw controller error separately
...
as discussed with Leonard
9 years ago
Andrew Tridgell
6330060e49
AC_AttitudeControl: added monitoring of controller error
...
use RMS P+I+FF output. Thanks to Leonard for the suggestion
9 years ago
Andrew Tridgell
9bf0ada875
AC_AttitudeControl: removed use of AFF for tail control in heli
9 years ago
dgrat
41661f815f
AP_Math: Replace the pythagorous* functions with a variadic template
...
The new function can deal with a variable number of function parameters.
Additionally, I renamed the functions to norm(), because this is the
standard name used in several other projects.
9 years ago
Randy Mackay
4a06ca4be2
AC_AttControl: remove unused call to motors.set_stabilizing
...
Also minor change to order of a call to motors library to make stabilizing
and non-stabilizing calls consistent.
Non functional change
9 years ago
Andrew Tridgell
c7664291f9
AC_AttitudeControl: fixed comment on function
9 years ago
Andrew Tridgell
23a64e1227
AC_AttitudeControl: fixed accel limit trigonometry
...
Leonard had mentioned the limit should be tan(angle) not sin(angle). I
noticed this one was wrong.
9 years ago
Francisco Ferreira
b7135175c9
AC_AttitudeControl: fix heli documentation
9 years ago
Andrew Tridgell
d03a232659
AC_AttitudeControl: added set_limit_accel_xy() API
...
for preventing integrator buildup
9 years ago
Randy Mackay
87399776a3
AC_PosControl: hover throttle default to 0.5
9 years ago
Randy Mackay
165d739b45
AC_AttControl_Heli: roll, pitch, yaw passthrough to motors in -1 to +1 range
9 years ago
Randy Mackay
344d86a095
AC_AttControl_Heli: fix parameter description
9 years ago
Randy Mackay
685be4083c
AC_AttControl_Heli: remove unnecessary cast to AC_HELI_PID
9 years ago
Randy Mackay
6c91e50f8c
AC_AttControl_Heli: remove scaling for centi-degrees and legacy motor input
9 years ago
Randy Mackay
32d238187f
AC_AttControl_Heli: get_althold_lean_angle_max in 0 to 1 range
9 years ago
Randy Mackay
db04dddba5
AC_AttControl_Heli: adjust rate gain param descriptions
9 years ago
Randy Mackay
35c6ea994d
AC_AttControl_Multi: fix parameter descriptions
9 years ago
Randy Mackay
ace58d114f
AC_AttControl_Multi: reduce rate gain defaults
9 years ago
Leonard Hall
b30606bb22
AC_AttControl: remove scaling for centi-degrees and legacy motor input
9 years ago
Randy Mackay
7f2c1f830f
AC_AttControl_Heli: add rate PIDs
9 years ago
Randy Mackay
5edc16dfb4
AC_AttControl_Multi: add rate PIDs
9 years ago
Randy Mackay
75042e5e27
AC_AttControl: remove rate PIDs
9 years ago
Randy Mackay
17c9db08f3
AC_AttControl: add angle and rate PIDs
9 years ago