Commit Graph

286 Commits

Author SHA1 Message Date
Randy Mackay 74c702674b AC_PosControl: add get_vel_target and get_accel_target 2024-12-18 18:28:12 +11:00
Randy Mackay c706d01d7f AC_PosControl: implement singleton 2024-10-04 09:25:56 +09:00
Leonard Hall 9fb8a0f1ac AC_PosControl: support 3D pos, vel, accel offsets
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2024-10-04 09:25:56 +09:00
Peter Barker b480416c3d AC_AttitudeControl: re-order initialiser lines so -Werror=reorder will work 2024-09-24 22:50:28 +10:00
Tatsuya Yamaguchi 62e3c6a6a9 AC_AttitudeControl: update comment to reflect the current logic in is_active_xy() 2024-08-23 07:14:50 +10:00
Peter Barker fae3b39b15 AC_AttitudeControl: rename pid setters to include set_ in the names 2024-07-31 18:43:42 +10:00
bnsgeyer 8a42a29ef7 AC_AttitudeControl: add comments for system ID disturbance input code 2024-05-14 23:16:52 -04:00
bnsgeyer c2e99dc50e AC_AttitudeControl: implement suggested changes 2024-05-14 23:16:52 -04:00
bnsgeyer 84e52378cf AC_PosControl: add support for sysid of vel and pos loops 2024-05-14 23:16:52 -04:00
Randy Mackay 1eb2a3009d AC_PosControl: always update yaw targets 2024-03-25 11:03:25 +09:00
Peter Barker 3165ec694c AC_AttitudeControl: move logging of PSC messages into AC_AttitudeControl 2024-02-29 19:27:47 +11:00
Peter Barker 2359ffc7da AC_AttitudeControl: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Andy Piper b7a969d462 AC_AttitudeControl: update for new AC_PID settings
enable filters with AP_FILTER_ENABLED
2023-11-21 13:26:23 +11:00
Andy Piper d6287e90f1 AC_AttitudeControl: update PID notch centres
add documentation for PID notches and D feed-foward
add notches and D feedforward to heli PIDs
add advanced flag to PIDs and selectively compile advanced PID options
2023-11-21 13:26:23 +11:00
Paul Riseborough 75789bd94d AC_PosControl: Add monitoring and reporting of forward accel saturation 2023-09-27 11:43:45 +10:00
Leonard Hall ac0244e430 AC_AttitudeControl: Support PD Max 2023-09-26 10:41:05 +10:00
Andrew Tridgell 64d03555af AC_AttitudeControl: use ticks32() for is_active tests
this avoids problems with very uneven timing
2023-01-29 15:28:43 +11:00
Andrew Tridgell 3d5ef88c43 AC_AttitudeControl: fixed time wrap bug in is_active_xy()
this failed at 70 minutes
2023-01-08 16:02:42 +11:00
Leonard Hall 140dc61f2a AC_AttitudeControl: AC_PosControl: Simplify and clarify use of vertical controllers 2022-12-30 20:25:58 +09:00
Leonard Hall 05aa879b61 AC_AttitudeControl: AC_PosControl: Comment fix and small efficiency gain 2022-12-30 20:25:58 +09:00
Leonard Hall 78942911b7 AC_AttitudeControl: AC_PosControl: Include FF in _pid_vel_xy integrator initialisation 2022-12-28 08:25:31 +09:00
Leonard Hall 3c69d28237 AC_AttitudeControl: Support changing update period 2022-12-13 17:10:06 +11:00
Peter Barker 48d25cfc9f AC_AttitudeControl: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Leonard Hall f3cd5a9a38 AC_PosControl: Fix slow target decay decay problem 2022-09-02 09:02:46 +09:00
Andrew Tridgell 7e4fb803a2 AC_AttitudeControl: reduced default quadplane VTOL pos XY gains 2022-06-16 21:26:49 +10:00
Peter Barker 0fb5be7f2b AC_AttitudeControl: tidy includes 2022-05-03 09:14:58 +10:00
Andrew Tridgell 7bb129aa3e AC_AttitudeControl: added set_lean_angle_max_cd() 2022-03-18 13:36:16 +11:00
Leonard Hall 56e47cb8cc AC_PosControl: Decay posiiton error during relax 2022-03-07 16:14:23 +09:00
Leonard Hall 057be63fdd AC_AttitudeControl: AC_PosControl: add soften for landing 2022-03-07 16:14:23 +09:00
Leonard Hall 162dd6d2bc AC_AttitudeControl: AC_PosControl: Remove velocity override 2022-02-04 13:09:35 +09:00
Leonard Hall d51e2d323e AC_AttitudeControl: AC_PosControl: use relax_integrator 2022-01-25 13:20:47 +09:00
Leonard Hall 48a15947ab AC_AttitudeControl: AC_PosControl: use consistent measured vel and accel callers in z 2022-01-25 13:20:47 +09:00
Leonard Hall f6f51f5a74 AC_AttitudeControl: AC_PosControl: Increase Jerk with Accel when out of velocity range 2022-01-25 09:04:25 +09:00
Leonard Hall 2cda59c09d AC_AttitudeControl: AC_PosControl: Init desired accel to zero 2022-01-25 08:57:38 +09:00
Leonard Hall 894b491faa AC_AttitudeControl: AC_PosControl: Clean up init functions and limit initial xy accelerations based on max lean angle 2022-01-11 11:00:41 +11:00
RickReeser d95c997606 AC_PosControl: fix comment
In ArduCopter/mode.cpp, ignore_descent_limit is FALSE unless landing:

        // do not ignore limits until we have slowed down for landing
        ignore_descent_limit = (MAX(g2.land_alt_low,100) > get_alt_above_ground_cm()) || copter.ap.land_complete_maybe;
2021-12-21 07:41:47 +09:00
Leonard Hall 90db81354b AC_AttitudeControl: AC_PosControl: Prioritize crosstrack acceleration 2021-12-16 09:54:49 +09:00
Leonard Hall 9017ac6723 AC_AttitudeControl: AC_PosControl: Support error input to kinematic shaper 2021-12-07 09:47:42 +09:00
Randy Mackay a3886be920 AC_PosControl: minor formatting fix 2021-12-01 08:54:34 +09:00
Josh Henderson e11529ac01 AC_AttitudeControl: INAV rename for neu & cm/cms 2021-11-30 10:08:07 +11:00
Josh Henderson da418ed520 AC_AttitudeControl: rename Inav get_position_xy() & get_velocity_xy() 2021-11-30 10:08:07 +11:00
Josh Henderson 77711e1505 AP_PosControl: inav use _xy() 2021-11-30 10:08:07 +11:00
Josh Henderson 6243532e69 AC_AttitudeControl: get_bearing & get_horizontal_distance use Vector2f 2021-11-30 10:08:07 +11:00
Iampete1 be6598708e AC_PosControl: remove unused limit flags 2021-11-23 13:49:02 +09:00
lthall d5286ec533 AC_AttitudeControl: Fix initialize bug 2021-10-01 13:14:46 -04:00
lthall 31e7d672c9 AC_AttitudeControl: AC_PosControl: Update PSC logging to include desired 2021-09-23 20:07:52 +09:00
Iampete1 ffac134014 AC_PosControl: protect against negative angle max 2021-09-13 07:55:34 +09:00
Leonard Hall ad278779e3 AC_AttitudeControl: : Add units to the accessors. 2021-09-09 08:01:14 +09:00
Leonard Hall 35a93c5988 AC_AttitudeControl: AC_PosControl: Change set_correction_speed_accel_z to use input arguments 2021-09-07 19:04:14 +09:00
Leonard Hall 5337ab0551 AC_AttitudeControl: AC_PosControl: Remove const float 2021-09-06 16:00:19 +09:00