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?
#3
(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?

This is a IMU from spark fun ( https://www.sparkfun.com/products/13762 ). I"m not sure what caused this and after rebooting the PI during the race the problem may have gone away but came back later. I cant reproduce this on the bench. The plots are of the from imu.heel, imu.pitch imu.roll, I could not remember the what to plot. I'll get  imu.gyro  imu.compass next time. Hopefully while it is sitting on the bench this week instead of in the boat next week. I also have a older  Adifruit 9DOF that I'll try on a copy of this SD card to see if it behaves the same.
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)