anypis

  • *
  • 26
AttitudeState.Yaw behaves weird
« 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.
« Last Edit: January 22, 2016, 11:36:32 pm by anypis »

f5soh

  • *****
  • 4572
    • LibrePilot
Re: AttitudeState.Yaw behaves weird
« Reply #1 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.

anypis

  • *
  • 26
Re: AttitudeState.Yaw behaves weird
« Reply #2 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.

anypis

  • *
  • 26
Re: AttitudeState.Yaw behaves weird
« Reply #3 on: January 30, 2016, 10:18:50 am »
I tried all other possibilities it is still doing same problems

f5soh

  • *****
  • 4572
    • LibrePilot
Re: AttitudeState.Yaw behaves weird
« Reply #4 on: January 30, 2016, 10:41:12 am »
Post your config file.

File > Export UAV settings

anypis

  • *
  • 26
Re: AttitudeState.Yaw behaves weird
« Reply #5 on: January 30, 2016, 10:49:05 am »
Settings

f5soh

  • *****
  • 4572
    • LibrePilot
Re: AttitudeState.Yaw behaves weird
« Reply #6 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 ?

anypis

  • *
  • 26
Re: AttitudeState.Yaw behaves weird
« Reply #7 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!

f5soh

  • *****
  • 4572
    • LibrePilot
Re: AttitudeState.Yaw behaves weird
« Reply #8 on: January 30, 2016, 11:15:40 am »
The config file you send do not have any temperature calibration

anypis

  • *
  • 26
Re: AttitudeState.Yaw behaves weird
« Reply #9 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

anypis

  • *
  • 26
Re: AttitudeState.Yaw behaves weird
« Reply #10 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?

f5soh

  • *****
  • 4572
    • LibrePilot
Re: AttitudeState.Yaw behaves weird
« Reply #11 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.