Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_Scripting: added QUIK_ANGLE_MAX #28890

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tridge
Copy link
Contributor

@tridge tridge commented Dec 16, 2024

This brings the same attitude error abort protection to the lua VTOL_quicktune script as we have in the C++ version

this brings the same protection to the lua script as was added for the
C++ implementation
@tridge tridge force-pushed the pr-quicktune-angmax branch from de7c058 to 2eb18ae Compare December 17, 2024 00:44
@tridge tridge requested a review from IamPete1 December 18, 2024 01:51
@@ -3761,6 +3761,10 @@ AC_AttitudeControl = {}
---@return number -- yaw slew rate
function AC_AttitudeControl:get_rpy_srate() end

-- return current VTOL total attitude error in degrees
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only roll and pitch, I wonder if we should just copy the function description exactly from attitude control. That would be:

Return the angle between the target thrust vector and the current thrust vector in degrees.

@Hwurzburg Hwurzburg added the WikiNeeded needs wiki update label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scripting WikiNeeded needs wiki update
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants