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

Battery: Switch thrust based load compensation back to linear #8929

Merged
merged 1 commit into from
Mar 2, 2018

Conversation

MaEtUgR
Copy link
Member

@MaEtUgR MaEtUgR commented Feb 21, 2018

To account for the parameter definition:
https:/PX4/Firmware/blob/master/src/modules/systemlib/battery_params.c#L129
My tests if quadratic is actually better in practise were anyways not clearly conclusive.

I saw this inconsistency while looking at #8868
FYI @nanthony21

@MaEtUgR MaEtUgR added the bug label Feb 21, 2018
@MaEtUgR MaEtUgR self-assigned this Feb 21, 2018
@nanthony21
Copy link
Contributor

We should probably also change the comment in line 181 to avoid confusion.

To account for the parameter definition.
My tests if quadratic is actually better in practise were anyways not conclusive.
@MaEtUgR MaEtUgR force-pushed the pr-battery-thrust-compensation-fix branch from a87d211 to 6081887 Compare February 22, 2018 09:23
@MaEtUgR
Copy link
Member Author

MaEtUgR commented Feb 22, 2018

@nanthony21 Of course, thanks for pointing it out.

@LorenzMeier LorenzMeier merged commit d39a8b5 into master Mar 2, 2018
@dagar dagar deleted the pr-battery-thrust-compensation-fix branch March 2, 2018 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants