Commit Graph
279 Commits
Author SHA1 Message Date
Leonard Hall a81d5a9de1 AC_AttitudeControl: move rate_controller_target_reset to base class 2026-04-14 12:27:29 +09:00
Randy Mackay 5842f5616c AC_AttitudeControl: reduce INPUT_TC default
multicopters reduced from 0.15 to 0.1
planes reduced from 0.2 to 0.15
2026-04-07 09:18:00 +09:00
Leonard Hall 262b34e96c AC_AttitudeControl: Add units to euler_accel 2026-03-05 15:24:06 +09:00
Leonard Hall 88f7d4a4e1 AC_AttitudeControl: Use consistent patterns for get_slew_yaw_max_rads() 2026-03-05 15:24:06 +09:00
Leonard Hall f8c31bfced AC_AttitudeControl: Improve comments for ang_vel_limit and body_to_euler_limit 2026-03-05 15:24:06 +09:00
Leonard Hall 75fc8ad1b3 AC_AttitudeControl: Rename euler_accel_limit to body_to_euler_limit 2026-03-05 15:24:06 +09:00
Leonard Hall 4959ff6824 AC_AttitudeControl: Fix Yaw Slew Limit 2026-03-05 15:24:06 +09:00
Randy Mackay 96bad8bcc0 AC_AttitudeControl: accel and slew param rename and convert to degs 2026-03-04 20:00:01 +09:00
lthall 184fb13623 AC_AttitudeControl: Improved Comments 2026-02-05 10:47:17 +11:00
Leonard Hall 140aa135f5 AC_AttitudeControl: Rename euler/body derivative transform functions 2026-02-04 18:38:37 +11:00
Leonard Hall e2e68bde83 AC_AttitudeControl: Move slew yaw limit to the body frame 2026-02-04 18:38:37 +11:00
Leonard Hall ba67fbdf7e AC_AttitudeControl: Support future plane command model requirements. 2026-02-04 18:38:37 +11:00
Leonard Hall eaeae81b91 AC_AttitudeControl: Real time S-Curve Command Model 2026-02-04 18:38:37 +11:00
Peter Barker ac6ad6e64b AC_AttitudeControl: correct compilation failure on CubeOrange-heavy-periph
../../libraries/AC_AttitudeControl/AC_AttitudeControl.cpp:8:5: error: "APM_BUILD_TYPE" is not defined, evaluates to 0 [-Werror=undef]
    8 | #if APM_BUILD_TYPE(APM_BUILD_ArduPlane)
      |     ^~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
2026-01-28 18:55:19 +00:00
Randy Mackay 99d757841b AC_AttitudeControl: lean_angle_max constrained to 10 to 80 deg 2026-01-28 08:45:12 +11:00
Randy Mackay 40584a1cf1 AC_AttitudeControl: add ANGLE_MAX parameter 2026-01-28 08:45:12 +11:00
Aadarsh Agarwal 1c18ada245 AC_AttitudeControl: correct @Increment for Angle P gains 2025-12-29 20:37:22 -06:00
Andy Piper c683d8c16e AC_AttitudeControl: reset angle P scaling in rate loop 2025-11-15 16:44:50 +00:00
Andy Piper 8dcf747d2e AC_AttitudeControl: yaw I scaling should use Z-axis 2025-10-02 13:02:26 +01:00
Andy Piper 7a6c9a8aa1 AC_AttitudeControl: allow scaling of I in-line with angle P for rate-only control
add I scale used to logging
set and reset I scale from target thread only
2025-10-02 08:40:02 +01:00
Leonard Hall 5b43ab92a0 AC_AttitudeControl: Remove unused functions 2025-09-26 17:54:32 +09:00
Leonard Hall 28aa117b11 AC_AttitudeControl: PR Feedback 2025-08-20 17:01:44 +09:00
Leonard Hall 3dd0b76cfb AC_AttitudeControl: Remove unused cm functions 2025-08-20 17:01:44 +09:00
Leonard Hall 9e3c83bc50 AC_AttitudeControl: Fix Vector3f () to {} 2025-08-13 11:06:41 +09:00
Leonard Hall 01e00480f0 AC_AttitudeControl: Add units to dt 2025-07-07 13:39:08 +09:00
Leonard Hall 55f979fceb AC_AttitudeControl: Convert copter to radians 2025-07-01 09:06:25 +09:00
Leonard Hall 9e737a6866 AC_AttitudeControl: Change heading to radians 2025-06-24 07:55:28 +09:00
Leonard Hall 4bf5b294a0 AC_AttitudeControl: radian version of get_althold_lean_angle_max_rad 2025-06-18 20:34:26 +09:00
Leonard Hall c5359432cb AC_AttitudeControl: Change passthrough to be an angular rate 2025-06-18 20:34:26 +09:00
Leonard Hall 9052961cb8 AC_AttitudeControl: Move passthrough call to the base class. 2025-06-18 20:34:26 +09:00
Leonard Hall a96fd8878c AC_AttitudeControl: Updated function comments 2025-06-18 20:34:26 +09:00
Leonard Hall 05a7bc92bd AC_AttitudeControl: Split centidegree and radian interfaces 2025-06-18 20:34:26 +09:00
Peter Barker c14f42a826 AC_AttitudeControl: replace ToRad with radians and ToDeg with degrees 2025-05-29 11:24:56 +10:00
Leonard Hall ce231f84ae AC_AttitudeControl: Add missing conts 2025-05-28 20:16:26 +09:00
Leonard Hall 14bb7caabe AC_AttitudeControl: Use cd_to_rad and remove radians(XXX * 0.01f); 2025-05-28 20:16:26 +09:00
Leonard Hall 758bf125c7 AC_AttitudeControl: Add const where possible 2025-05-26 19:00:15 +10:00
Peter BarkerandLeonard Hall 5a923d2217 AC_AttitudeControl: rename local variables to correct/add units
colcon build/test / build-test (push) Has been cancelled
Cygwin Build / build (push) Has been cancelled
ESP32 Build / build (esp32buzz, 10) (push) Has been cancelled
ESP32 Build / build (esp32s3empty, 10) (push) Has been cancelled
Macos Build / build (CubeOrange) (push) Has been cancelled
Macos Build / build (sitl) (push) Has been cancelled
QURT Build / build (push) Has been cancelled
test ccache / build (10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-EKF2, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-ODID, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-PPP, 10, chibios) (push) Has been cancelled
test chibios / build (CubeOrange-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (CubeRedPrimary-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (MatekF405-Wing, 10, chibios) (push) Has been cancelled
test chibios / build (Pixhawk6X-PPPGW, 10, chibios) (push) Has been cancelled
test chibios / build (SOHW, 10, chibios) (push) Has been cancelled
test chibios / build (build-options-defaults-test, 10, chibios) (push) Has been cancelled
test chibios / build (configure-all, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv2-plane, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3, 10, chibios) (push) Has been cancelled
test chibios / build (fmuv3-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (iofirmware, 10, chibios) (push) Has been cancelled
test chibios / build (new-check, 10, chibios) (push) Has been cancelled
test chibios / build (periph-build, 10, chibios) (push) Has been cancelled
test chibios / build (revo-bootloader, 10, chibios) (push) Has been cancelled
test chibios / build (revo-mini, 10, chibios) (push) Has been cancelled
test chibios / build (signing, 10, chibios) (push) Has been cancelled
test chibios / build (stm32f7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7, 10, chibios) (push) Has been cancelled
test chibios / build (stm32h7-debug, 10, chibios) (push) Has been cancelled
test dds / build (sitl) (push) Has been cancelled
test dds / build (stm32h7) (push) Has been cancelled
test Linux SBC / build (bbbmini, armhf) (push) Has been cancelled
test Linux SBC / build (bebop, armhf) (push) Has been cancelled
test Linux SBC / build (bhat, armhf) (push) Has been cancelled
test Linux SBC / build (canzero, armhf) (push) Has been cancelled
test Linux SBC / build (erlebrain2, armhf) (push) Has been cancelled
test Linux SBC / build (linux, base) (push) Has been cancelled
test Linux SBC / build (navigator, armhf-musl) (push) Has been cancelled
test Linux SBC / build (navigator64, aarch64) (push) Has been cancelled
test Linux SBC / build (navio, armhf) (push) Has been cancelled
test Linux SBC / build (navio2, armhf) (push) Has been cancelled
test Linux SBC / build (pxf, armhf) (push) Has been cancelled
test Linux SBC / build (pxfmini, armhf) (push) Has been cancelled
test replay / build (replay, base) (push) Has been cancelled
test replay / build (replay, clang) (push) Has been cancelled
test scripts / build (astyle-cleanliness) (push) Has been cancelled
test scripts / build (check_autotest_options) (push) Has been cancelled
test scripts / build (logger_metadata) (push) Has been cancelled
test scripts / build (param_parse) (push) Has been cancelled
test scripts / build (python-cleanliness) (push) Has been cancelled
test scripts / build (validate_board_list) (push) Has been cancelled
test blimp / build (base) (push) Has been cancelled
test blimp / build (clang) (push) Has been cancelled
test blimp / autotest (sitltest-blimp) (push) Has been cancelled
test copter / build (base) (push) Has been cancelled
test copter / build (clang) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1a) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1b) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1c) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1d) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests1e) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2a) (push) Has been cancelled
test copter / autotest (sitltest-copter-tests2b) (push) Has been cancelled
test copter / build-gcc-heli (push) Has been cancelled
test copter / autotest-heli (sitltest-heli) (push) Has been cancelled
test ap_periph / build-gcc-ap_periph (push) Has been cancelled
test ap_periph / autotest-can (sitltest-can) (push) Has been cancelled
test plane / build (base) (push) Has been cancelled
test plane / build (clang) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1a) (push) Has been cancelled
test plane / autotest (sitltest-plane-tests1b) (push) Has been cancelled
test plane / autotest (sitltest-quadplane) (push) Has been cancelled
test rover / build (base) (push) Has been cancelled
test rover / build (clang) (push) Has been cancelled
test rover / autotest (sitltest-balancebot) (push) Has been cancelled
test rover / autotest (sitltest-rover) (push) Has been cancelled
test rover / autotest (sitltest-sailboat) (push) Has been cancelled
test sub / build (base) (push) Has been cancelled
test sub / build (clang) (push) Has been cancelled
test sub / autotest (sitltest-sub) (push) Has been cancelled
test tracker / build (base) (push) Has been cancelled
test tracker / build (clang) (push) Has been cancelled
test tracker / autotest (sitltest-tracker) (push) Has been cancelled
test unit tests and sitl building / build (examples, base) (push) Has been cancelled
test unit tests and sitl building / build (examples, clang) (push) Has been cancelled
test unit tests and sitl building / build (sitl, base) (push) Has been cancelled
test unit tests and sitl building / build (sitl, clang) (push) Has been cancelled
test unit tests and sitl building / build (unit-tests, base) (push) Has been cancelled
test unit tests and sitl building / build (unit-tests, clang) (push) Has been cancelled
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2025-05-26 09:31:07 +10:00
Peter BarkerandLeonard Hall 6fb2f3cd99 AC_AttitudeControl: correct method name input_rate_step_bf_roll_pitch_yaw_cds
parameters are in cd/s, not cd

Co-authored-by: Leonard Hall <leonardthall@gmail.com>
2025-05-26 09:31:07 +10:00
Leonard Hall 28a3bfeb6b AC_AttitudeControl: add units and frames to AC_AttitudeControl methods 2025-04-29 08:54:14 +09:00
Leonard Hall c05a0eefff AC_AttitudeControl: Internal Units and Comments 2025-04-29 08:54:14 +09:00
Andrew Tridgell f6e12c01a3 AC_AttitudeControl: added input_rate_bf_roll_pitch_yaw_no_shaping() 2025-04-02 07:05:04 +11:00
Andy Piper 02a2c788da AC_AttitudeControl: ensure plane always gets the latest gyro 2024-09-26 19:25:33 +10:00
Andy Piper 829422ecfb AC_AttitudeControl: add commentary about functions which modify the rate loop target 2024-09-26 19:25:33 +10:00
Leonard Hall ddfccb3098 AC_AttitudeControl: Use rate step command 2024-09-26 19:25:33 +10:00
Andy Piper ff002cba3f AC_AttitudeControl: ensure the rate and attitude controllers can't interfere with the target at the same time 2024-09-26 19:25:33 +10:00
Andy Piper 71e2b756af AC_AttitudeControl: introduce ANG log message for high resolution attitude logging
Move RATE message to AC_AttitudeControl_Logging.cpp
2024-09-17 10:12:35 +10:00
Leonard Hall ea226637c9 AC_AttitudeControl: Vector3f multiplication clean up 2024-09-17 09:59:55 +10:00
Leonard Hall 5e27e3111d AC_AttitudeControl: Fix dt update order 2024-09-17 09:59:55 +10:00
Andy Piper bb2249f766 AC_AttitudeControl: record latest gyro value and time used for logging
move Write_Rate() to AC_AttitudeControl
move RATE log structure to AC_AttitudeControl
2024-09-10 16:33:04 +01:00
Leonard Hall 2ab3d0b3b0 AC_AttitudeControl: Add Landed Gain Backoff 2024-07-25 09:50:35 +10:00