This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Heading values changing wildly
#4
pitch and roll should both be zero sitting level once you level the sensors

You can plot the raw sensor values using "pypilot_scope_wx" or just dump them to a terminal with something like

"pypilot_client -c imu.compass"

Anyway, you may need to calibrate the accelerometers. about 20-30% of mpu9255 I received need this calibration to be able to work properly. About 10% of mpu9255 I received are defective for various reasons. This is from a total of about 200 sensors.

As for the compass heading changing wildly.. this indicates either the magnetic sensors are defective, or there is a stray magnetic field nearby. Perhaps there is ac power or something? Otherwise you may need a different mpu9255
Reply


Messages In This Thread
Heading values changing wildly - by CapnKernel - 2021-01-02, 01:47 AM
RE: Heading values changing wildly - by rastam4n - 2021-01-02, 05:27 AM
RE: Heading values changing wildly - by seandepagnier - 2021-01-02, 10:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)