ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

ArduCopter 2.9: 'Level' accel calibration leaves attitude tilted

Open MikeTango opened this issue 13 years ago • 7 comments

twonine01 twonine02

The new multi-step gyro calibration routine leaves the copter at a tilt. No remedy, because starting at this much tilt will result in a fatal crash before you could do autolevel or ch7. Auto-Calibration on boot and manual calibration are gone (15s disarm motion), no help there.

Downgrade back to 2.8.1 leaves the "Level" button in the MP unusable, because it hangs on 2.9+ and doesn't accept any input.

MikeTango avatar Jan 24 '13 10:01 MikeTango

i can confirm this issue as well. The only thing that worked for me was to go to CLI > setup > reset and restore to a fresh config. After that, using the level command worked great.

zschmid avatar Jan 25 '13 14:01 zschmid

Did you restore to a fresh 2.9 or downgrade?

MikeTango avatar Jan 25 '13 15:01 MikeTango

i upgraded from 2.8 to 2.9 and then noticed the issue. After that I ran the reset command which reset to the default config on the 2.9 firmware.

zschmid avatar Jan 25 '13 15:01 zschmid

We will sort this out in 2.9.1.

By th way, after an accel calibration, if the HUD is not level, what you're seeing is a misalignment of the board vs the frame, the chip on the board or a misalignment inside the mpu6k chip.

Save Trim or AutoTrim can help you fix this but it's also possible to manually set the AHRS_TRIM_X (for roll) and AHRS_TRIM_Y (for pitch) parameters directly in the Adv Parameters List in the mission planner. These number are in radians (not degrees) but you can use excel or many other programs to do the conversion.

it's also possible to use auto-trim or save trim functions even when not flying to get the AHRS level. just push the roll and pitch sticks around as you invoke either function and you'll see you can make the HUD move.

rmackay9 avatar Jan 26 '13 02:01 rmackay9

I have to disagree - i am confident that i did not shake the whole copter apart between 2.8. and 2.9, only to have it spontaneously mend during the downgrade :)

I hadn't thought of using ch7 trim "dry" without the copter flying, which would have been rather interesting at the angle it thought of as "up"

MikeTango avatar Jan 26 '13 10:01 MikeTango

Seems relevant : new Calibrate Accel function seems broken in current master branch, hangs my APM and MP. autolevel

zmoothrc avatar Jan 26 '13 17:01 zmoothrc

the HUD not being level is fixed in 2.9.1!

calibrate still doesn't work in master but we know why. you can use the cli's "setup", "accel" until then.

rmackay9 avatar Feb 02 '13 13:02 rmackay9