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
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
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
4158c37cfa
AC_PosControl: Calculate heading
2021-04-27 17:13:55 +09:00
Leonard Hall
bb46f7a947
AC_PosControl: Thrust Vector output
2021-04-27 17:13:55 +09:00
Randy Mackay
cb0d37586e
AC_PosControl: use Vector limit_length and formatting fixes
2021-04-03 12:07:59 +09:00
Leonard Hall
ba00c2edd6
AC_PosControl: alt hold controller update
...
pass accel limit top_pos_xy
prearm check updated
fix PSC_VELZ_FLTE/D param descriptions
fix VelZ FF param desc
limit maximum desired z component
integrate AC_PID_Basic
2021-04-03 12:07:59 +09:00
Leonard Hall
b73ad1a1bc
AC_PosControl: remove unused sqrt_controller_3D
2021-04-03 12:07:59 +09:00
Leonard Hall
49da872218
AC PosControl: fix position error get functions
2021-04-03 12:07:59 +09:00
Peter Hall
aa75fc2c3d
AC_PosControl: use target lean angles rather than true for init
2021-03-17 08:13:11 +09:00
Leonard Hall
8ace1bfad1
AC_PosControl: const local vars and remove todo
2021-02-10 13:26:23 +09:00
Randy Mackay
0703a1cf93
AC_PosControl: add PSCZ logging
2021-02-09 19:33:52 +09:00
Randy Mackay
9f914d9e7d
AC_PosControl: add get_z_accel_cmss helper function
2021-02-09 19:33:52 +09:00
Randy Mackay
6320338771
AC_PosControl: use AP_Math control functions
2021-01-20 18:19:40 +11:00
Randy Mackay
d6869b9234
AC_PosControl: fix typo in posxy_p param desc
2020-11-05 14:59:00 +09:00
Andrew Tridgell
0a7c628355
AC_AttitudeControl: added SMAX param docs
2020-10-25 10:32:48 +11:00
Randy Mackay
4ed486bb92
AC_AttitudeControl: revert Add PosControl PID logging
2020-09-12 08:10:33 +09:00
Iampete1
c109df3dd5
AC_AttitudeControl: Add PosControl PID logging
2020-09-11 10:12:08 +10:00
Iampete1
e955b431ef
AC_PosControl: move to structure logging for PSC
2020-09-11 10:12:08 +10:00
Iampete1
c27bdafea4
AC_PosControl: correct VELXY_D_FILT Description
2020-06-23 11:40:12 +09:00
Rishabh
6a98ab569e
AC_PosControl: Replace update_vel_controller_xy() with update_xy_controller()
2020-04-21 09:22:45 +10:00
Peter Barker
e477f6c840
AC_PosControl: add documentation for PSC log message
2020-04-06 10:46:45 +10:00
Leonard Hall
29332ac112
AC_PosControl: add relax_velocity_controller_xy
2020-03-11 10:39:18 +09:00
Randy Mackay
fc2e15651e
AC_PosControl: allow smaller changes in max speed and accel
...
also small changes in max speed for z-axis
2020-02-22 08:53:41 +09:00
Randy Mackay
5e60ae8a26
AC_PosControl: add missing ACCZ param descriptions
2020-02-14 09:20:11 +09:00
Peter Barker
d6dbdd58d3
AC_AttitudeControl: adjust for some methods on AP_AHRS become non-const
2020-01-21 11:53:18 +11:00
Luke.Qin
c8ef863e6d
AC_PosControl: fix minor bug for set_max_speed_z()
2019-11-26 19:28:38 +09:00
Leonard Hall
3ca713fdcb
AC_AttitudeControl: limit ATC_MOT_MIX_MAX in case of a fly away
2019-10-31 12:23:48 +08:00
Leonard Hall
e5f724bc3a
AC_PosControl: add high vibration compensation
2019-10-18 11:15:25 +09:00
Leonard Hall
5acfc77a3c
AC_AttitudeControl: Support for Standby functions
2019-10-17 14:57:18 +09:00
Leonard Hall
979b54b33e
AC_PosControl: support update to PID object
2019-07-25 17:38:15 +09:00
Leonard Hall
78be1067a8
AC_AttitudeControl: Alt Hold init bug
2019-07-17 09:09:25 +09:00
Leonard Hall
32cc642b2e
AC_AttitudeControl: Formatting Changes
2019-04-20 09:31:56 +09:00
Randy Mackay
4e494d5a63
AC_PosControl: minor comment fix to pre-arm checks
2019-04-16 11:23:46 +09:00
Randy Mackay
0624f6b8c3
AC_PosControl: minor comment fix
2019-04-16 11:23:46 +09:00
Tom Pittenger
ce872d83a4
AC_AttitudeControl: rename dataflash to logger
2019-03-28 16:40:57 +11:00
Peter Barker
eb1fc3107c
AC_PosControl: log PSC data in metres in place of centimetres
2019-03-26 10:18:05 +11:00
Peter Barker
50d95943e3
AC_AttitudeControl: add pre-arm checks
2019-03-06 10:36:32 +09:00
Randy Mackay
8710526894
AC_PosControl: constify dt calcs
2019-01-30 15:58:34 +09:00
Randy Mackay
b14be4e8ae
AC_PosControl: increase accuracy of dt calcs
2019-01-30 15:58:34 +09:00
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
2019-01-18 18:08:20 +11:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Randy Mackay
ba3303dc61
AC_PosControl: set-alt-target-with-slew sets desired to 0 once at target
...
This resolves and issue with the set-alt-target-with-slew method leaving the z-axis desired velocity at the max speed-up or speed-down
this causes a jump in throttle if the user switches to Loiter after the vehicle has reached its target
2018-11-26 09:30:32 +09:00