Leonard Hall
c53ba22daa
AC_AttitudeControl: add new rate only attitude control
7 years ago
Randy Mackay
ac82a37728
AC_PosControl: run horiz control at main loop rate
7 years ago
Randy Mackay
13007e2a07
AC_PosControl: dataflash logging of PSC message
7 years ago
Randy Mackay
69cfea4057
AC_PosControl: use float for local consts
7 years ago
Randy Mackay
b988a6ca08
AC_AttitudeControl: add units to INPUT_TC param desc
7 years ago
Leonard Hall
dadc6a63c4
AC_PosControl: add set_leash_length_xy
7 years ago
Leonard Hall
e5bc2b26fe
AC_PosControl: add lean angle max
7 years ago
Leonard Hall
0f3645b061
AC_PosControl: increase velocity gains
7 years ago
Leonard Hall
7ec043502f
AC_PosControl: add accel limit to xy controller
7 years ago
Leonard Hall
bd13704f6f
AC_PosControl: update init for guided
7 years ago
Leonard Hall
85b7f06554
AC_PosControl: combine z position control into single method
7 years ago
Leonard Hall
993e638752
AC_PosControl: combine xy position control into single method
...
Also always limit lean angle to maintain altitude
7 years ago
Leonard Hall
74bb7616a7
AC_PosControl: add accel feedforward
...
also add limit_vector_length and sqrt_controller helper functions
enforce angle limits
rename accel-feedforward to accel-desired
remove freeze_ff_xy
remove unused VEL_XY_MAX_FROM_POS_ERR
remove xy mode
remove jerk limiting code including setters
limit_vector_length uses is_positive
Also modify formatting
7 years ago
Randy Mackay
9aa6415e1c
AC_AttitudeControl: use is_positive and is_negative
7 years ago
Randy Mackay
b3de52dc59
AC_AttitudeControl: minor comment fix
7 years ago
Leonard Hall
05418d3d29
AC_AttitudeControl: add EKF reset handling
7 years ago
Leonard Hall
8c45345863
AC_AttitudeControl: rename use_ff_and_input_shaping to use_sqrt_controller
...
Also rate controllers only use _rate_bb_ff_enabled flag to decide whether
to use ff for now
7 years ago
Leonard Hall
1e9e12e866
AC_AttitudeControl: rename heading_quad to yaw_vec_correction_quat
...
also rename flip_scalart local variable to feedforward_scalar
also add comments
non-functional change
7 years ago
Randy Mackay
59a2445ad3
AC_AttitudeControl: replace smoothing gain with INPUT_TC
7 years ago
Leonard Hall
e1e224b68b
AC_AttitudeControl: add angular velocity limit
7 years ago
Leonard Hall
ee82943f85
AC_AttitudeControl: add input_shaping_rate_predictor
7 years ago
Leonard Hall
6175a896ee
AC_AttitudeControl: add set smoothing gain
...
Smoothing gain value should be set once when entering a mode
7 years ago
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
Randy Mackay
3badcdcfba
AC_PosControl: default gains for sub
7 years ago
Randy Mackay
61933c6f1c
AC_PosControl: shorten PSC_ACCELZ param to PSC_ACCZ
7 years ago
Leonard Hall
692e6518cc
AC_AttitudeControl: update param desc values for large copters
7 years ago
Leonard Hall
691abab95e
AC_AttitudeControl: Update parameter ranges
7 years ago
Randy Mackay
9c00eb3d5f
AC_PosControl_Sub: move pids to be local
7 years ago
Randy Mackay
c70d3e0ab8
AC_PosControl: move pids to be local
7 years ago
Randy Mackay
00037fd50e
AC_PosControl_Sub: replace velocity pi with local pid
7 years ago
Randy Mackay
3a73ff1e2e
AC_PosControl: replace velocity control with local 2-axis PID
7 years ago
Leonard Hall
e249e06714
AC_PosControl: minor enhancement to lean_angles_to_accel
7 years ago
Leonard Hall
d5976442f8
AC_PosControl: minor comment change
...
non-functional change
7 years ago
Leonard Hall
3ada0f32b0
AC_AttitudeControl: minor comment update
...
Non-functional change
7 years ago
Leonard Hall
b9ed8b292a
AC_PosControl: pass dt to att control sqrt_controller
7 years ago
Leonard Hall
62cc25022c
AC_AttitudeControl: protect against overshoot in sqrt controller
7 years ago
Leonard Hall
75de0cb4ef
AC_AttitudeControl: sqrt_controller accepts dt
7 years ago
Leonard Hall
cddd815a75
AC_AttitudeControl: comment thrust_heading_rotation_angles
...
non-functional change
7 years ago
Leonard Hall
3e0c24adf9
AC_PosControl: remove out-of-date comments
7 years ago
ChristopherOlson
569f55f5c6
AC_AttitudeControl:TradHeli - fix for alt_hold angle limiter active at hover collective in Traditional Helicopters
...
add definition for max collective/throttle for helicopters that compensates for negative collective pitch range
and sets proper collective overhead before alt_hold angle limiter becomes effective
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
fa4427fbce
AC_AttitudeControl: Add AC_PosControl::get_bearing_to_target() method
7 years ago
Leonard Hall
bd284d9fd7
AC_PosControl: correct lean-angle-to-accel formula
...
Thanks to @luweikxy for finding this issue!
7 years ago
Leonard Hall
ebd864d2d2
AC_PosControl: minor update to comments
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
Dr.-Ing. Amilcar Do Carmo Lucas
c7c2c4ff2c
AC_AttitudeControl: use floating-point multiplication instead of a more expensive floating-point division
7 years ago
Andrew Tridgell
f2efea4e1d
AC_AttitudeControl: added inverted flight support
...
for helis
7 years ago
Andrew Tridgell
99aad41955
AC_AttitudeControl: added a update_vel_controller_xy() API
...
this allows for just XY control of velocity for quadplanes
8 years ago
Andrew Tridgell
1a25087dd5
AC_AttitudeControl: fixed PIRO_COMP index
...
this is a new conflict due to stricter checking in AP_Param
8 years ago
Leonard Hall
ed0063d10d
AC_AttControl: save accel max using shorter set_and_save
...
no functional change
8 years ago