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
Bad IMU?
#10
(2020-02-04, 03:58 AM)seandepagnier Wrote: First of all, where did you get the IMU?

I am not sure if it is a bad imu bug it's difficult to tell from you screen shots.

Could you plot the raw sensors:
imu.accel   imu.gyro  imu.compass

Usually the gyro will be very high or wrong, and there is new code in pypilot to reset the imu if it detects this.   I think it may come from a misaligned fifo.   It might be possible to enhance the reliability of the driver by adding additional fields to the fifo to ensure the data is aligned.   I am not sure if this is the issue for you ( all sensors wrong)  or just the gyros are wrong.

If you restart pypilot does the problem go away for a while?
Hi Sean,

When did you commit that change to repair the misalignment?
Is it already in the last openplotter version?
Currently I have a problem with the mpu9250, after a couple of minutes (half an hour or so) there seems to be an oscillation, the compass is spinning all over the globe.

Would a mpu9255 be better?

I ll try to make a screenshot of the scope and check if the pull ups on the i2c lines.
Reply


Messages In This Thread
Bad IMU? - by diyc235 - 2020-02-03, 04:05 PM
RE: Bad IMU? - by seandepagnier - 2020-02-04, 03:58 AM
RE: Bad IMU? - by diyc235 - 2020-02-04, 05:05 AM
RE: Bad IMU? - by xfactor99 - 2020-02-04, 11:57 AM
RE: Bad IMU? - by It Paradyske - 2020-02-19, 12:20 PM
RE: Bad IMU? - by beholder77 - 2020-02-19, 12:46 PM
RE: Bad IMU? - by seandepagnier - 2020-02-04, 04:37 PM
RE: Bad IMU? - by diyc235 - 2020-02-06, 02:00 AM
RE: Bad IMU? - by seandepagnier - 2020-02-06, 02:09 AM
RE: Bad IMU? - by CapnKernel - 2020-02-06, 03:06 AM
RE: Bad IMU? - by seandepagnier - 2020-02-07, 05:03 PM
RE: Bad IMU? - by seandepagnier - 2020-02-21, 03:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)