Commit Graph

634 Commits

Author SHA1 Message Date
Iampete1 c1e4ed6512 AC_AttitudeControl: check for zero rate Y max before taking min 2021-08-28 12:50:32 +10:00
Andrew Tridgell 128c21cba2 AC_AttitudeControl: this fixes an issue with Z accel initialisation
tailsitter quadplanes were climbing a lot on transition from fixed
wing to Q modes. Leonard tracked it down to a bug in the Z accel init
2021-08-16 15:05:24 +10:00
Andrew Tridgell 10574f5188 AC_AttitudeControl: apply EKF Z gain scaler
for flying with DCM
2021-08-16 15:03:55 +10:00
Leonard Hall 62c4a34660 AC_AttitudeControl: AC_PosControl: support Control: Refactor to use Jerk 2021-08-14 16:41:52 +10:00
Leonard Hall 3f33ac0a82 AC_AttitudeControl: Fix Angle Vel units on function 2021-08-14 16:41:52 +10:00
Leonard Hall 0d52cd4aeb AC_AttitudeControl: AC_PosControl: fix PID filter names FILT -> FLTE, D_FILT -> FLTD 2021-08-14 16:41:52 +10:00
Leonard Hall 628206b5e8 AC_AttitudeControl: Support thrust to weight of 10:1 2021-08-14 16:41:52 +10:00
Leonard Hall 730ac9cb20 AC_PosControl: Add MAX(bla,0) because safe_sqrt isn't safe 2021-07-22 16:01:01 +10:00
Leonard Hall 3d6dd8cff8 AC_AttitudeControl: AC_PosControl: calculate cross track 2021-07-22 16:01:01 +10:00
Leonard Hall 2dea0fa966 AC_AttitudeControl: AC_PosControl: Auto Terain following update 2021-07-22 16:01:01 +10:00
Leonard Hall 902560953b AC_AttitudeControl: Allow yaw rate reset to be de-selected 2021-07-22 16:01:01 +10:00
Leonard Hall fcca42410a AC_AttitudeControl: Add accessor for yaw slew limit 2021-07-22 16:01:01 +10:00
Leonard Hall c3c3a47e9a AC_AttitudeControl: AC_PosControl: support accel only input in the vertical 2021-07-22 16:01:01 +10:00
Leonard Hall ebd8401652 AC_AttitudeControl: AC_PosControl: support terrain following 2021-07-22 16:01:01 +10:00
Leonard Hall c1484f4b31 AC_AttitudeControl: AC_PosControl: seperate kinimatic shaping from pid limit setting 2021-07-22 16:01:00 +10:00
Leonard Hall 9d8fdf3e85 AC_AttitudeControl: Add terain following to guided 2021-07-22 16:01:00 +10:00
Leonard Hall d5d7e3d5d3 AC_AttitudeControl: AC_PosControl: Support Accel only input 2021-07-22 16:01:00 +10:00
Leonard Hall a546a9ac14 AC_AttitudeControl: AC_PosControl: Change input_pos_xyz name 2021-07-22 16:01:00 +10:00
Leonard Hall 68b882d404 AC_AttitudeControl: Add shaping_tc_z_s accessor 2021-07-04 08:19:11 +10:00
Leonard Hall 83b4616a7b AC_PosControl: fixup ekf reset 2021-07-04 08:19:11 +10:00
Andrew Tridgell 0af57de50c AC_AttitudeControl: convert poscontrol to use double position 2021-07-04 08:19:11 +10:00
Andrew Tridgell e191c48d9f AC_AttitudeControl: cleanup poscontrol comments with input from Leonard 2021-07-04 08:19:11 +10:00
Andrew Tridgell 6bde607aaa AC_AttitudeControl: fixed comment 2021-07-04 08:19:11 +10:00
Andrew Tridgell a4220b1584 AC_AttitudeControl: cleanup position control APIs
use Vector2 for xy, float for z
2021-07-04 08:19:11 +10:00
Leonard Hall ee9ae3e570 AC_AttitudeControl: AC_PosControl: Init and stopping point fixes 2021-07-04 08:19:10 +10:00
Leonard Hall b73182db3c AC_AttitudeControl: AC_PosControl: change force_descend to ignore_descent_limit 2021-07-04 08:19:10 +10:00
Leonard Hall 20158ddf5f AC_AttitudeControl:AC_PosControl: vibration failsafe fix 2021-07-04 08:19:10 +10:00
Leonard Hall ab8f3c21ec AC_AttitudeControl: AC_PosControl: Remove extra accel limit 2021-07-04 08:19:10 +10:00
Peter Hall 5a1fdf9f78 AC_AttitudeControl: add thrust vector methods to 6DoF multi 2021-07-04 08:19:10 +10:00
Hwurzburg 27620322ec AC_AttitudeControl: remove % as units on params that are unitless 2021-05-30 22:38:27 -07:00
Hwurzburg 3f4d4e45fc AC_AttitudeControl: correct param ranges to accomodate TradHeli defaults 2021-05-28 09:44:11 +09:00
Randy Mackay d9c68031fa AC_PosControl: write_log checks xy and z controllers are active
This allows write_log to be write PSCZ messages for modes with onlyi vertical control (e.g. althold) without also logging out-of-date PSC messages
2021-05-26 18:58:31 +10:00
Leonard Hall 359cf8ed0e AC_AttitudeControl: Rename set_attitude_target_to_current_attitude 2021-05-26 16:03:05 +09:00
Leonard Hall fb83f98b77 AC_AttitudeControl: Set rates to zero during arming procedure for acro 2021-05-26 16:03:05 +09:00
Leonard Hall 34e342f658 AC_AttitudeControl: Rename set_yaw_target_to_current_heading 2021-05-26 16:03:05 +09:00
Leonard Hall b489dd5fe1 AC_AttitudeControl: Set yaw rate to zero during arming procedure 2021-05-26 16:03:05 +09:00
Hwurzburg ff931c7490 AC_AttitudeControl: make centideg metadata incr and range consistent 2021-05-25 10:10:18 +10:00
Leonard Hall 491350c1d6 AC_AttitudeControl: Fix before squash 2021-05-24 20:13:37 +10:00
Andrew Tridgell 8213fc5277 AC_AttitudeControl: prevent panic on SITL when no lock-step scheduling
this disables the internal error for bad timing on SITL types without
lock-step scheduling, such as RealFlight
2021-05-24 20:13:37 +10:00
Leonard Hall 92e05e8c4f AC_AttitudeControl: PosControl fixes 2021-05-24 20:13:37 +10:00
Leonard Hall 7f1f29c1ae AC_PosControl: rename get_roll_cd get_pitch_cd 2021-05-12 17:16:00 +10:00
Leonard Hall f24a0988f4 AC_PosControl: minor formatting fixes 2021-05-12 17:16:00 +10:00
Leonard Hall 772cec5101 AC_AttitudeControl: minor format fix 2021-05-12 17:16:00 +10:00
Leonard Hall 4158c37cfa AC_PosControl: Calculate heading 2021-04-27 17:13:55 +09:00
Leonard Hall e253c94f63 AC_AttitudeControl: Remove Unused Function 2021-04-27 17:13:55 +09:00
Leonard Hall bb46f7a947 AC_PosControl: Thrust Vector output 2021-04-27 17:13:55 +09:00
Leonard Hall 1fb2a95486 AC_AttitudeController: Thrust Vector attitude control 2021-04-27 17:13:55 +09:00
Peter Barker a3c329b182 AC_AttitudeControl: make parameter renames consistent 2021-04-21 12:17:42 +10:00
Leonard Hall b43c7f4ed1 AC_AttitudeControl: Parameter rename (non-functional) 2021-04-21 12:17:42 +10:00
hs293go de0c57de77 AC_AttitudeControl: Use Quaternion::operator* for vector rotation
Replace all instances of the q*v*q.formula() or conversion to rotation
matrix + matrix multiply by calling Quaternion::operator* on a
vector
2021-04-21 12:17:42 +10:00