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

Disable the PID output constraint for the attitude PIDs (rate/angle) … #194

Merged
merged 1 commit into from
Jan 31, 2017

Conversation

theseankelly
Copy link
Contributor

…and correct how the integral limit is computed/enforced
Fixes #185

…and correct

how the integral limit is computed/enforced
Fixes bitcraze#185
float iLimit; //< integral limit
float outputLimit; //< output limit
float iLimit; //< integral limit, absolute value. '0' means no limit.
float outputLimit; //< total PID output limit, absolute value. '0' means no limit.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I still don't think it's a great idea to have the outputLimit functionality at all -- if the output of the PID needs to be limited, that suggests the coefficients need to be tuned instead. However, the current position controller makes use of this functionality, and I don't have a way to test out changes to that layer, so I've left it in.

See my comments on issue #185 for some more details.

@ataffanel ataffanel merged commit 638ec13 into bitcraze:master Jan 31, 2017
@ataffanel
Copy link
Member

Thanks for the PR @theseankelly. I cannot see any difference when flying autonomously in the UWB system so I merged it.

@theseankelly theseankelly deleted the pid_perf_fix branch September 6, 2017 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants