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

Please add magnetometer calibration by RC, (without MP) #745

Closed
AndKe opened this issue Dec 18, 2013 · 3 comments
Closed

Please add magnetometer calibration by RC, (without MP) #745

AndKe opened this issue Dec 18, 2013 · 3 comments

Comments

@AndKe
Copy link
Contributor

AndKe commented Dec 18, 2013

REASON:
Mission planner is a pain when it comes to it's lack of proper multiplatform support.
Calibrating compass is not working, apparently due to some undocumented, but required .NET parameter.
ArduPilot/MissionPlanner#208 , look how old that bug is...

SUGGESTION:
Anyway: when travelling, calibrating compass is important, and should be able to be done without MP.
I suggest to do it like another known vendor of multirotors:

-while disarmed:
1.- Push and hold throttle stick in upper left corner(mode2) for 2 sec. optionally, while at the same time holding pitch/roll stick down.
2.- now user got 30 sec to calibrate.

@billbonney
Copy link
Member

You only need to so this once, and then it's set, there's no need AFIAU to do this at every location you fly. You can use APM Planner 2.0 https://github.com/diydrones/apm_planner to also do the compass calibration using OSX and Linux.

The challenge for adding it to the flight code is that the implementation uses a stats math library to calculate the 'least squares' of all the readings. If somebody wrote that function in plain c it would be easy add to the flight controllers with more memory

@rmackay9
Copy link
Contributor

Yes, I think Bill has it right. If the real issue is the mission planner's non-cross-platform support then let's fix that problem (with APM Planner) rather than pushing the load onto the flight controller. I'm closing this issue, hope that's ok.

@AndKe
Copy link
Contributor Author

AndKe commented Dec 19, 2013

Yes, I asked while thinking the calibration itself were done onboard. So I must agree that saving the EEPROM have higher priority.

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

No branches or pull requests

3 participants