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

Plane: Quadplane: log tailsitter speed scaling in TSIT msg #25776

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

IamPete1
Copy link
Member

@IamPete1 IamPete1 commented Dec 15, 2023

This adds a new tailsitter log message TSIT. This allows moving the speed scale Sscl out of QTUN. In addition to that value this also logs the throttle only scale and the disk loading min throttle. For those last two values to be different you need to be not using throttle scaling for speed scale and be using min outflow speed with disk theory.

This is currently at full loop rate.

As a drive by I also put the "PIQ" message definitions behind HAL_QUADPLANE_ENABLED which should save a little flash on boards without quadplane.

We might want to add more stuff in the future, but this is a start.

@IamPete1 IamPete1 marked this pull request as ready for review December 16, 2023 21:38
@IamPete1
Copy link
Member Author

Tested in realflight, logging works as expected.

@IamPete1
Copy link
Member Author

Does take up quite a bit of log size, I might add a rate limit.
newplot (22)

@IamPete1
Copy link
Member Author

Moved log to be at the same rate as VTOL PIDs, much more reasonable cost now.

image

@tridge tridge merged commit c98bdd1 into ArduPilot:master Dec 19, 2023
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants