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

Tools: Magfit: throttle based #717

Merged
merged 3 commits into from
Oct 5, 2022

Conversation

IamPete1
Copy link
Member

Allows throttle based (on copter anyway), this means you can fit to throttle based and also remove a existing throttle based correction from flight data prior to calculating a current based one. Fit with --Tmot. You will almost certainly need to allow a larger CMOT limits when doing throttle based, at least a factor of 50 --max-cmot 500.

Also allows to set a larger number of max iterations with --iter 200 for example.

tools/magfit_WMM.py Outdated Show resolved Hide resolved
tools/magfit_WMM.py Outdated Show resolved Hide resolved
tools/magfit_WMM.py Outdated Show resolved Hide resolved
@IamPete1 IamPete1 force-pushed the magfit_throttle_based branch from f791181 to 56cd2ea Compare October 5, 2022 18:27
@IamPete1 IamPete1 force-pushed the magfit_throttle_based branch from 56cd2ea to 97be606 Compare October 5, 2022 18:32
@IamPete1 IamPete1 requested a review from peterbarker October 5, 2022 18:39
@peterbarker
Copy link
Contributor

I've tested this as far as "it doesn't grossly break magfit_wmm.py

@peterbarker peterbarker merged commit 84a231f into ArduPilot:master Oct 5, 2022
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