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

Accelerometer calibration problem #4126

Closed
marstonstudio opened this issue Oct 13, 2016 · 5 comments
Closed

Accelerometer calibration problem #4126

marstonstudio opened this issue Oct 13, 2016 · 5 comments
Assignees
Milestone

Comments

@marstonstudio
Copy link

I am unable to complete the Accelerometer calibration using QGroundControl.

When I complete the orientation steps, I see a message in the console 'Info: Calibration Succesful'. When I try to arm it, I see a message 'Critical: PreArm: Accelerometers calibrated requires reboot.'

However after rebooting my system, when I reconnect QGroundControl, the accelerometer is still red and there is no record of the calibration.

Is there anything special I need to do to save the values before rebooting my copter?

I am running APM:Copter V3.4-rc4 (9ea82ab9) on a Navio2 with a Raspberry Pi 3. I am able to complete the calibration successfully using Mission Planner on Windows, but I'd rather use QGroundControl on my Mac.

Happy to submit logs or any other debugging info if this is a bug. Grateful for any guidance if I'm missing a step.

( previously posted in google group: https://groups.google.com/forum/#!topic/qgroundcontrol/E_eQkDfIZhQ )

@DonLakeFlyer DonLakeFlyer self-assigned this Oct 13, 2016
@DonLakeFlyer DonLakeFlyer added this to the Release V3.1 milestone Oct 13, 2016
@DonLakeFlyer
Copy link
Contributor

@marstonstudio Can you go through the sequence of steps again which fails. Then after you reboot and Sensors still shows red. Save your paramateres to a file on post here.

@marstonstudio
Copy link
Author

Attached are parameter files from before calibration, after calibration, and after reboot. I have also attached a screenshot showing the values that I got after completing the accelerometer calibration.

screen shot 2016-10-20 at 9 32 46 pm

aftercalibration.params.txt
afterreboot.params.txt
beforecalibration.params.txt

@DonLakeFlyer
Copy link
Contributor

Perfect, I understand the problem now. Working on a fix. The bug is that the indiacator is incorrect since you only have one accelerometer. Workaround is to set INS_USE2 and INS_USE3 to off. Then the indicator should go green.

@marcebdev
Copy link

Sorry I was looking at this myself and hadn't been working for me either. Though the "Navio2 contains two 9DOF IMU - MPU9250 and LSM9DS1" as found in the official Navio 2 Docs. So I'm not sure what you mean by theres only one accelerometer?

@staroselskii
Copy link

@Deathstroke5467

Navio 2 has only one IMU. LSM9DS1 is used merely as a compass.

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

4 participants