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
rpi5 + op4 - time update by OP every minute makes IMU crazy
#1
Hi,

I am working to run pypilot on rpi5 with pretty good success. 
it works, but exactly once a minute my "virtual" boat rolls over. (imu gets wrong data) 

Strange behaviour  was explained when I start to look system log. 
At the same exact moment when boat turn over OP updates system time. 

Syslog output in the moment of issue:

Mar 04 22:23:32 openplotter sudo[7120]:      pi : PWD=/home/pi/.signalk ; USER=root ; COMMAND=/usr/bin/date
Mar 04 22:23:32 openplotter sudo[7121]:      pi : PWD=/home/pi/.signalk ; USER=root ; COMMAND=/usr/bin/date --iso-8601 -u -s 2024-03-05T04:23:32.000Z
Mar 04 22:23:32 openplotter sudo[7120]: pam_unix(sudoConfusedession): session opened for user root(uid=0) by (uid=1000)
Mar 04 22:23:32 openplotter sudo[7121]: pam_unix(sudoConfusedession): session opened for user root(uid=0) by (uid=1000)
Mar 04 22:23:32 openplotter sudo[7120]: pam_unix(sudoConfusedession): session closed for user root
Mar 04 22:23:32 openplotter sudo[7121]: pam_unix(sudoConfusedession): session closed for user root
Mar 04 22:23:32 openplotter systemd-journald[332]: Time jumped backwards, rotating.
Mar 04 22:23:35 openplotter kernel: w1_master_driver w1_bus_master1: Family 0 for 00.340000000000.df is not registered.

Why OP updates time EVERY MINUTE????!!!!!!


Video shows how issue looks like
https://photos.app.goo.gl/tn9MhwzZGx9zQrJB8

[update] found and disabled plug-in doing time update. no more issue. looks like it is setting "old" time.
Reply
#2
Have you got a duplicate time in your setup? I’ve had issues with time in the past and had to do filtering.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)