Leonard Hall
213f7a4061
AC_AttitudeControl: add get_accel_roll/pitch/yaw_max_radss methods
...
Also constify existing get_accel_roll/pitch/yaw_max methods
7 years ago
Leonard Hall
3ada0f32b0
AC_AttitudeControl: minor comment update
...
Non-functional change
7 years ago
Leonard Hall
75de0cb4ef
AC_AttitudeControl: sqrt_controller accepts dt
7 years ago
Randy Mackay
6315e6eb45
AC_AttitudeControl: remove unused get_tilt_limit_rad
7 years ago
bnsgeyer
e8173f27df
AC_AttitudeControl: reset target attitude
...
added method to reset current vehicle attitude to support swash
behaviors in Trad Heli
7 years ago
Andrew Tridgell
f2efea4e1d
AC_AttitudeControl: added inverted flight support
...
for helis
7 years ago
Leonard Hall
ed0063d10d
AC_AttControl: save accel max using shorter set_and_save
...
no functional change
8 years ago
Leonard Hall
0544cf1d82
AC_AttControl: add step input for autotune
8 years ago
Andrew Tridgell
fe3e7e8153
AC_AttitudeControl: added get_throttle_mix()
...
and when we use set_throttle_mix_value(), set both desired and actual
thanks to Leonard for the suggestions
8 years ago
Randy Mackay
67097c8d59
AC_AttitudeControl: use gyro_latest
...
This allows moving the attitude control before the ahrs/ekf update
We continue to use ahrs.get_gyro for the non-time-critical heli
passthrough functions. We should avoid using get_gyro_latest() unless we know there is a direct benefit because it could lead to inconsistent gyro values vs what the EKF is using.
8 years ago
Andrew Tridgell
e5ed20d6f7
AC_AttitudeControl: added set_throttle_mix_value()
...
used by quadplane
8 years ago
Andrew Tridgell
1345bf8737
AC_AttitudeControl: added support for AP_AHRS_View
...
this allows for tailsitters with a different attitude view
8 years ago
Leonard Hall
c6d2fc3d5d
AC_AttitudeControl: add rpy mix manual
...
This allows adjusting the attitude control vs throttle level in manual
flight modes (Stabilize, ACRO)
8 years ago
Andrew Tridgell
5cf1c0869d
AC_AttitudeControl: expose all functions via abstract class
...
this allows for a single class to be used for heli and multicopter
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
8419045aea
Spell in comments
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Tom Pittenger
3adf8c3e51
AC_AttitudeControl: comment odd math in get_att_target_euler_cd
...
degree(100) = 1 float multiplicaiton
vector3f * degree(100.0f) = 4 float multiplications
degree(vector3f) * 100.0f = 6 float multiplications and needs new degree(vector3f) function
degree(vector3f * 100.0f) = 6 float multiplications and needs new degree(vector3f) function
These all come to the same conclusion but the one that is faster appears to be a bug but is mathematically correct.
8 years ago
Randy Mackay
44830be172
AC_AttControl: add parameter check of throttle mix
9 years ago
Randy Mackay
535158e0d8
AC_AttControl: move var_info declaration
...
No functional change
9 years ago
Leonard Hall
50b694444b
AC_AttControl: correct method comments
...
No functional change
9 years ago
Leonard Hall
ac04fcd836
AC_AttControl: fix set_yaw_target_to_current_heading
9 years ago
Leonard Hall
011bc0a350
AC_AttControl: add reset_rate_controller_I_terms()
9 years ago
Randy Mackay
d5c18dc987
AC_AttControl: remove unused 100hz definition
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
558f29b95c
AC_AttitudeControl: control mixing made protected
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
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
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
c7664291f9
AC_AttitudeControl: fixed comment on function
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
Randy Mackay
c5e5b4f783
AC_AttControl: fix rate controller max definitions to -1 to +1 range
9 years ago
Leonard Hall
2822b93cd4
AC_AttControl: add get_throttle_in accessor
...
Used for logging only
9 years ago
Leonard Hall
c0f209fa42
AC_AttControl: angle_boost to float
9 years ago
Lucas De Marchi
f42484bcc5
AC_AttitudeControl: replace header guard with pragma once
9 years ago
Jonathan Challinger
e946e047e6
AC_AttitudeControl: add attitude_controller_run functions, call from input functions
9 years ago
Leonard Hall
49a4bde5d9
AC_AttControl: lower minimum accelerations for large copters
9 years ago
Randy Mackay
5ddd332277
AC_AttControl: add ANGLE_BOOST param
...
This allows disabling angle boost
9 years ago
Jonathan Challinger
3d4bd92b48
AC_AttitudeControl: add helper functions to retrieve rotation matrices
9 years ago
Randy Mackay
c8661f804f
AC_AttControl: reduce compiler warnings by fixing member init order
...
Also increased _dt's default to 400hz (no functional change)
9 years ago