cyspho

  • *
  • 2
CC3D Gyro calibrating endlessly
« on: April 22, 2021, 06:40:00 pm »
Hi!

This is my first time using a flight board (I've had experience with Arduino and MultiWii) and I'm struggling to get the gyro to work.
Whenever I connect the drone to my laptop, the gyro seems all calibrated and still but when I move the drone to a certain angle, the gyro shows the angle correctly initially but then begins to drop to the zero points again.
Shortly afterwards, the angle I'm holding the drone becomes zero for the gyro.

How do I fix this? Thank you in advance!

Re: CC3D Gyro calibrating endlessly
« Reply #1 on: April 23, 2021, 07:28:49 am »
Many possible reasons.  To start with a few...

Are you using LibrePilot software?  This is not the way the default settings of LibrePilot work for a properly mounted, erased, configured, and calibrated CC3D board.

Are you using a CC3D or equivalent board?  You didn't say.

Are you using the default settings?  Like you get after Firmware -> Erase Settings (and then running the Welcome -> Vehicle Setup Wizard and the Configuration -> Attitude -> Calibration...)

Is the CC3D board mounted flat with the chips on top and the painted arrow pointing forward (6x3 connector pins that are connected to ESCs/servos are on the right hand side)?  This is the default mounting orientation and to mount it otherwise requires that you change some settings to tell the configuration that you have done that.
https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/2818092/CC+Attitude+Configuration

What flight mode is this and how are you determining that it returns to zero?  To start with you should use Attitude mode which is self leveling.  If you are looking at the graphical flight displays on either the FlightData tab or the Firmware tab, you are OK.  There are graphs accessible from the Scopes tab that you might find misleading.  For instance, on the Scopes tab, some graphs show zero when it is level and some show zero when it has stopped rotating (roll/pitch/yaw) whether it is level or not.

Further reading:
https://forum.librepilot.org/index.php?topic=4408.0
« Last Edit: April 23, 2021, 07:33:57 am by TheOtherCliff »