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
MPU9250 heading is slowly drifting
#31
(2020-01-16, 09:19 PM)It Paradyske Wrote: Same results here, cloned and build https://github.com/RPi-Distro/RTIMULib, and everything is stable.

Why did you choose RPi-Distro?   This rtimulib is very old and doesn't have a lot of bugs fixed.

What output do you get from pypilot_boatimu (disable pypilot in gui so it isn't running)   Do these drift compared to rtimulibdrive?

I am trying now to download 020-01-13-OpenPlotter-Headless-v2.0-pre-release-img.zip but it's taking a while.   I didn't have any problem installing pypilot on raspbian on a pi4.
Reply
#32
(2020-01-17, 03:56 AM)seandepagnier Wrote:
(2020-01-16, 09:19 PM)It Paradyske Wrote: Same results here, cloned and build https://github.com/RPi-Distro/RTIMULib, and everything is stable.

Why did you choose RPi-Distro?   This rtimulib is very old and doesn't have a lot of bugs fixed.

What output do you get from pypilot_boatimu (disable pypilot in gui so it isn't running)   Do these drift compared to rtimulibdrive?

I am trying now to download 020-01-13-OpenPlotter-Headless-v2.0-pre-release-img.zip but it's taking a while.   I didn't have any problem installing pypilot on raspbian on a pi4.

Because I couldn't find it on my openplotter 2.0....
Reply
#33
(2020-01-17, 08:11 AM)It Paradyske Wrote:
(2020-01-17, 03:56 AM)seandepagnier Wrote:
(2020-01-16, 09:19 PM)It Paradyske Wrote: Same results here, cloned and build https://github.com/RPi-Distro/RTIMULib, and everything is stable.

Why did you choose RPi-Distro?   This rtimulib is very old and doesn't have a lot of bugs fixed.

What output do you get from pypilot_boatimu (disable pypilot in gui so it isn't running)   Do these drift compared to rtimulibdrive?

I am trying now to download 020-01-13-OpenPlotter-Headless-v2.0-pre-release-img.zip but it's taking a while.   I didn't have any problem installing pypilot on raspbian on a pi4.

Because I couldn't find it on my openplotter 2.0....

This is the repo you need: https://github.com/seandepagnier/RTIMULib2

In openplotter we only take what we need from Sean repo: https://github.com/openplotter/python-RTIMULib2

rtimulibdrive and others in  RTIMULib2 are useful tools but we do not need them for production
Reply
#34
Could this be a python3 issue?
Reply
#35
Sailoog
(2020-01-17, 08:11 AM)It Paradyske Wrote:
(2020-01-17, 03:56 AM)seandepagnier Wrote:
(2020-01-16, 09:19 PM)It Paradyske Wrote: Same results here, cloned and build https://github.com/RPi-Distro/RTIMULib, and everything is stable.

Why did you choose RPi-Distro?   This rtimulib is very old and doesn't have a lot of bugs fixed.

What output do you get from pypilot_boatimu (disable pypilot in gui so it isn't running)   Do these drift compared to rtimulibdrive?

I am trying now to download 020-01-13-OpenPlotter-Headless-v2.0-pre-release-img.zip but it's taking a while.   I didn't have any problem installing pypilot on raspbian on a pi4.

Because I couldn't find it on my openplotter 2.0....

This is the repo you need: https://github.com/seandepagnier/RTIMULib2

In openplotter we only take what we need from Sean repo: https://github.com/openplotter/python-RTIMULib2

rtimulibdrive and others in  RTIMULib2 are useful tools but we do not need them for production

Ah, thanks! Installed this version 2, and yes, this one is stable too.
Reply
#36
did you fix the error in imu drifting by installing this? Why is the wrong library being used in the image?
Reply
#37
(2020-01-18, 07:06 AM)seandepagnier Wrote: did you fix the error in imu drifting by installing this?    Why is the wrong library being used in the image?

He is talking about rtimulibdrive. OP image is using your library.

If pypilot is working for you in tinypilot the problem should be in the python version. Could this reported issue be involved?

https://github.com/pypilot/pypilot/issues/46

I am going to test pypilot for python2 installed in a fresh Raspbian and pypilot for python3 in another fresh Raspbian.

I don't know what else to try, any ideas?
Reply
#38
Hello I am new here in the forum and have only read. 
Maybe it helps to narrow down the problem with the calibration since I have it too. If I use Sean’s tinypilot image from 20200109, I can’t calibrate via pypilot plugin in opencpn, with the tinypilot image from 21122019 everything works great. 
Uwe (google english)
Reply
#39
(2020-01-18, 11:45 AM)ostwind Wrote: Hello I am new here in the forum and have only read. 
Maybe it helps to narrow down the problem with the calibration since I have it too. If I use Sean’s tinypilot image from 20200109, I can’t calibrate via pypilot plugin in opencpn, with the tinypilot image from 21122019 everything works great. 
Uwe (google english)

thanks Uwe. Your date references are confusing.

Is this correct?

tinipylot 21122019 works
tinipylot 09012020 does not work
Reply
#40
Yes, the dates are correct. (Name from image, tinypilot)
Sean had recommended tinypilot image to someone in a post on January 9th, 2020, unfortunately 
I no longer know where that was. 
Uwe
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)