inav-configurator icon indicating copy to clipboard operation
inav-configurator copied to clipboard

INAV does not allow reconfiguration of accelerometer.

Open cfanyu2010 opened this issue 5 years ago • 16 comments

Current Behavior: I configured it several months ago. To recalibrate after crashing, I press configure in the calibration tab. It gives me the standard message: Place flight controller in a position showed in image, then press Calibrate button again. Repeat for each of 6 position. Keep it stable during calibration."

I press ok. All Steps (1-6) are grayed out. I press calibrate button again. Then it says processing, then it says "Accelerometer calibration finished, check if values have been saved."

I press ok. Then all 6 positions are checkedIn the log at the top left, Accelerator calibration started and finished in two seconds.

Other times when I press calibrate accelerometer, it gives me the starndard message and freezes, nothing happens after I hit ok.

Steps to Reproduce: Connect INAV to board and go to calibration tab

Expected behavior Normal config process.

Suggested Solution: No idea

Additional Context: 2.5.1 via a Matek 765

I appreciate your help.

cfanyu2010 avatar Sep 27 '20 16:09 cfanyu2010

I have the same issue. I have the Matek 722-SE. I have also tried to reset all the acc entiries to there lowest settings to if this would permit a reset of the calibration process.

CaptDen avatar Oct 13 '20 04:10 CaptDen

to reset the calibration and start from scratch you can use these stock telemetry data and put them into CLI and save them. This will reset the telemetry and you can start again: set acczero_x = 0 set acczero_y = 0 set acczero_z = 0 set accgain_x = 4096 set accgain_y = 4096 set accgain_z = 4096 save

On Tue, Oct 13, 2020, 06:34 CaptDen [email protected] wrote:

I have the same issue. I have the Matek 722-SE. I have also tried to reset all the acc entiries to there lowest settings to if this would permit a reset of the calibration process.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav-configurator/issues/1070#issuecomment-707480125, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARFFWIMCQMRJ7NXXZNMSWADSKPKEJANCNFSM4R3VCKPQ .

cfanyu2010 avatar Oct 13 '20 06:10 cfanyu2010

Same here .. Matek 722-SE. Maybe an issue with this particular controller?

JohnDevine avatar Nov 02 '20 06:11 JohnDevine

Same here .. Matek 722-SE. Any solution ?

zacool avatar Feb 09 '21 18:02 zacool

start over

On Tue, Feb 9, 2021, 19:29 zacool [email protected] wrote:

Same here .. Matek 722-SE. Any solution ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav-configurator/issues/1070#issuecomment-776146702, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARFFWIL7J35P6PQGHEXEXOTS6F5IHANCNFSM4R3VCKPQ .

cfanyu2010 avatar Feb 09 '21 18:02 cfanyu2010

I found a solution. My gps/compass is mounted upside down in a tower. I I hold the quad level and try to calibrate it will not work. If I first turn it upside down and try to calibrate it works perfectly.

JohnDevine avatar Feb 10 '21 00:02 JohnDevine

start over On Tue, Feb 9, 2021, 19:29 zacool @.***> wrote: Same here .. Matek 722-SE. Any solution ? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#1070 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARFFWIL7J35P6PQGHEXEXOTS6F5IHANCNFSM4R3VCKPQ .

start over what?

zacool avatar Feb 10 '21 16:02 zacool

I found a solution. My gps/compass is mounted upside down in a tower. I I hold the quad level and try to calibrate it will not work. If I first turn it upside down and try to calibrate it works perfectly.

YES it worked. Thank you very much. But why i must turn up side down to begin? Can you explain it to me? I thought that accelerometer is on flight controller.

zacool avatar Feb 10 '21 17:02 zacool

sorry zacool, I have no idea why. The only connection I can see is that the compass is also in the tower and the calibration of the accel code is somehow tangled up in that. I hope it helps the developers.

JohnDevine avatar Feb 11 '21 02:02 JohnDevine

sorry zacool, I have no idea why. The only connection I can see is that the compass is also in the tower and the calibration of the accel code is somehow tangled up in that. I hope it helps the developers.

ok thanks anyway.

zacool avatar Feb 11 '21 16:02 zacool

I'm seeing this too. The FC keeps returning 0x3F during the MSP_CALIBRATION_DATA (loadCalibrationData) MSP chain function saying all six positions are calibrated. Instead of ignoring this value, the GUI sees that all six bits are set and does not invoke the calibration routine. I'm trying to figure out how the firmware determines STATE(ACCELERATOR_CALIBRATED), maybe it is possible to clear a flag in the CLI.

petertorelli avatar Sep 06 '21 02:09 petertorelli

Shame because its not just a bug in the configurator as crappy as the code for it is🙁 It happens in my own configurator tool and i see values directly streamed bad unless i do the above tricks.

elgansayer avatar Jan 22 '22 21:01 elgansayer

you can vhange it in cli

On Sat, Jan 22, 2022, 15:30 Elgan Sayer @.***> wrote:

Shame because its not just a bug in the configurator as crappy as the code for it is🙁 It happens in my own configurator tool and i see values directly streamed bad unless i do the above tricks.

— Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav-configurator/issues/1070#issuecomment-1019361266, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARFFWIJR3LYPERNQKA3NPB3UXMOY7ANCNFSM4R3VCKPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

cfanyu2010 avatar Jan 22 '22 22:01 cfanyu2010

My Matek H743mini and H743 wing also need to be upside down to recalibrate. After a flip upside down, everything works perfectly.

peecao avatar Jul 20 '22 23:07 peecao

With the H743-WING, the accelerometer is on the underside of the flight controller. So when the flight controller is upside-down, the accelerometer is the correct way up. The accelerometer needs to be the correct way up for the first calibration step.

MrD-RC avatar Jul 21 '22 05:07 MrD-RC

De de

OptimusTi avatar Jul 21 '22 23:07 OptimusTi

Reset calibration button added to 6.0

MrD-RC avatar Nov 26 '22 09:11 MrD-RC