LibrePilot Forum

General Category => General Discussion => Topic started by: anypis on January 22, 2016, 11:31:30 pm

Title: AttitudeState.Yaw behaves weird
Post by: anypis on January 22, 2016, 11:31:30 pm
Is there any explanation of this behaviour? I reset board, loaded clean firmware but it happens again. It flies on attitude mode and then it slowly tries to roll right and back. I'm using oplink as receiver.
Title: Re: AttitudeState.Yaw behaves weird
Post by: f5soh on January 23, 2016, 12:23:13 am
If you see strange behavior using Attitude stabilization, try setting Accel filtering in Attitude tab.
Something from 0.05 to 0.1
Remove vibrations.

The Yaw drift looks normal if you don't use Mag, Yaw heading only based on Gyros.
Title: Re: AttitudeState.Yaw behaves weird
Post by: anypis on January 23, 2016, 12:26:05 am
Thank you, I will try and share results.
If you see strange behavior using Attitude stabilization, try setting Accel filtering in Attitude tab.
Something from 0.05 to 0.1
Remove vibrations.

The Yaw drift looks normal if you don't use Mag, Yaw heading only based on Gyros.
Title: Re: AttitudeState.Yaw behaves weird
Post by: anypis on January 30, 2016, 10:18:50 am
I tried all other possibilities it is still doing same problems
Title: Re: AttitudeState.Yaw behaves weird
Post by: f5soh on January 30, 2016, 10:41:12 am
Post your config file.

File > Export UAV settings
Title: Re: AttitudeState.Yaw behaves weird
Post by: anypis on January 30, 2016, 10:49:05 am
Settings
Title: Re: AttitudeState.Yaw behaves weird
Post by: f5soh on January 30, 2016, 11:07:53 am
Nothing wrong with config i think.
I notice also the baro pressure drift at same time

How is the temperature variance ? Room temperature ?
You can do the thermal calibration for less drift.

What appends if you redo Gyro calibration after the board warm ?
Title: Re: AttitudeState.Yaw behaves weird
Post by: anypis on January 30, 2016, 11:12:41 am
It is room temp. and I made thermal calibration it took 20 minutes.
Then the last option I will try gyro calibration after warming the board.
Thanks!
Title: Re: AttitudeState.Yaw behaves weird
Post by: f5soh on January 30, 2016, 11:15:40 am
The config file you send do not have any temperature calibration
Title: Re: AttitudeState.Yaw behaves weird
Post by: anypis on January 30, 2016, 11:18:02 am
Really! I did the calibration, saved and rebooted the board.
I will redo then. Thanks for informing
Title: Re: AttitudeState.Yaw behaves weird
Post by: anypis on January 30, 2016, 03:20:51 pm
I think i found my problem. My board has a big magnetic interface. When I arm the quad and give 40% throttle GCS telemetry rolls to right 20 degree even it is physcially flat.
Do you have any idea how to isolate the board?
Title: Re: AttitudeState.Yaw behaves weird
Post by: f5soh on January 30, 2016, 03:40:30 pm
Like i say in first post, remove vibrations.

Remove board from frame and try to reproduce,
Mount board with adhesive foam.