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
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
12957867fd
AC_PosControl: fix thr twitch when changing modes
10 years ago
Jonathan Challinger
738b1967ad
AC_PosControl: use LowPassFilterVector2f
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
7cb3c4ba39
AC_PosControl: add feed forward to Alt Hold
10 years ago
Jonathan Challinger
3e0dab7b2d
AC_PosControl: remove accel error filter and set throttle output filter instead
10 years ago
Jonathan Challinger
7abd02baf2
AC_PosControl: change int32/int16 to float in accel_to_throttle
10 years ago
Jonathan Challinger
d14893fcd5
AC_PosControl: don't limit throttle any more
10 years ago
Leonard Hall
48fb487a8c
AC_AttitudeControl: Formatting fix
10 years ago
Leonard Hall
9a3f48cc1f
AC_PosControl: ensure throttle output above zero
10 years ago
Randy Mackay
bb74b8dec8
AC_PosControl: fix twitch when entering RTL
...
Also removed slow_cpu flag
Fixed bug in update to _accel_target_jerk_limited.
10 years ago
Jonathan Challinger
88ec13b10d
AC_PosControl: fix build
10 years ago
Randy Mackay
50d2e98aa4
AC_AttControl: init throttle_hover in constructor
10 years ago
Randy Mackay
965db2c7f7
AC_PosControl: add comments and defines for jerk limits
10 years ago
Jonathan Challinger
4408c1b935
AC_PosControl: 2d jerk constraint in accel_to_lean_angles
10 years ago
Jonathan Challinger
9871b95586
AC_PosControl: fix dt sanity checking
10 years ago
Leonard Hall
7de5bccc93
AC_PosControl: remove THR_HOVER parameter
...
Parameter is set by main code so no need to store to eeprom
10 years ago
Leonard Hall
9866eaded1
AC_PosControl: rename p_alt_pos to p_pos_z
...
Also pid_alt_accel to pid_accel_z
10 years ago
Leonard Hall
349f1aeceb
AC_PosControl: use 2-axis PI controller
10 years ago
Leonard Hall
8d4f0ec80c
AC_PosControl: integrate PID input filter
10 years ago
Jonathan Challinger
e9bbe062f3
AC_PosControl: modify accel_to_lean_angles to apply filters before yaw rotation
10 years ago
Randy Mackay
186337f18e
AC_PosControl: rename xy_mode enum values
...
Also added a few comments and fixed formatting
10 years ago
Jonathan Challinger
3faca88423
AC_PosControl: allow control of xy rate constraint behavior
10 years ago
Robert Lefebvre
14d76d158a
AC_AttitudeControl: Correct comment.
10 years ago
Randy Mackay
07a0388f25
AC_PosControl: move alt limit to set_alt_target_from_climb_rate
...
The alt limit is instead enforced when the target is set using the
set_alt_target_from_climb_rate function
Also updated comments
10 years ago
Robert Lefebvre
02f3f96310
AC_PosControl: Enable altitude limit checking.
10 years ago
Randy Mackay
aeecc46f7b
AC_PosControl: remove unnecessary set of desired_accel
...
The desired_accel is set again 11 lines lower so this line did nothing.
10 years ago
Jonathan Challinger
9ebd0e9960
AC_PosControl: reincarnate dead block of code
10 years ago
Jonathan Challinger
a580cd83e8
AC_PosControl: Fill _vel_desired.z for reporting
10 years ago
Randy Mackay
2a5a133bbf
AC_AttControl: remove deprecated trigger_xy method
10 years ago
Jonathan Challinger
557d339cf1
AC_PosControl: remove various unnecessary timing hacks
10 years ago
Jonathan Challinger
d6e455417f
AC_PosControl: change keep_xy_I_terms to a parameter of init_xy_controller
10 years ago
priseborough
12ea1d6e85
AC_AttitudeControl: Scale angle demand noise filter
...
Scales filter frequency using EKF nav gain scaler to take advantage of the reduced nav frequency whichcan tolerate a slower angle response.
This is required to reduce the effect of EKF optical flow noise increase with height.
10 years ago
priseborough
e80b1c67cd
AC_AttitudeControl: Add EKF optical flow noise gain scaler
...
Allows gains to be adjusted to compensate for optical flow noise
10 years ago
priseborough
2dff76394d
AC_PosControl: Add spike and noise filter to demanded angles
...
This has been done to provide a smooth psotion hold when using an optical flow aided EKF which can be noisy.
Signed-off-by: priseborough <p_riseborough@live.com.au>
10 years ago
Jonathan Challinger
bfe71fea82
AC_PosControl: Use blended accelerometer measurement in altitude control
10 years ago
Jonathan Challinger
e81c1dd5a1
AC_PosControl: add force_descend option to set_alt_target_from_climb_rate
10 years ago
Randy Mackay
ac7ea2a12c
AC_PosControl: use AttControl's sqrt_controller
10 years ago
Jonathan Challinger
779baa006d
AC_PosControl: Use sqrt_controller function
10 years ago
Randy Mackay
a1cfd03c9b
AC_PosControl: bug fix dt calculation
...
fixes issue in which now could be earlier than _last_update_xy_ms
leading to a large dt value and a sudden lean on takeoff
10 years ago
Jonathan Challinger
4a397a8d67
AC_PosControl: Protect from divide-by-zero in get_stopping_point_xy
10 years ago