(2024-09-21, 01:32 AM)seandepagnier Wrote: I would suggest trying another imu. The plot you see does indeed seem very strange, but without more informations it could be software or hardware.
What is your setup? Maybe another program is interfering with the i2c device every 60 seconds? Is pypilot possibly resetting? Did you check the log?
This is what i find in the log (below). Sorry, but i cannot interpret it
. This comes repeatedly.
Tried the -a flag too to copy the entire long lines. I am too inexp in terminal. Hrm
However; it comes in even if i disconnect the IMU so i'd guess it isn't related (?).
Ordered a pimonori version. Will end up in the mail in a couple of days.
Don't put too much effort into this meanwhile.
My setup is standard OpenPlotter on RPi5, latest image + updates (not much changed), a motorcontroller on UART and windspeed though RS485 HAT, no RPS yet.
TIA!
Code:
zeroconf exception:
Sep 24 11:54:57 ironic pypilot[1031]: zeroconf addresses ['192.168.1.104', '127.0.0.1', '10.42.0.1'] 3
Sep 24 11:54:47 ironic pypilot[1031]: store_file /home/pi/.pypilot/pypilot.conf 774549.548 imu.gyrobias
Sep 24 11:53:57 ironic pypilot[1031]: e is {'192.168.1.104': ServiceInfo(type='_pypilot._tcp.local.', name='pypilot._pypilot._tcp.local.', addresses=[b'\xc0\>
Sep 24 11:53:57 ironic pypilot[1031]: zeroconf exception:
Sep 24 11:53:55 ironic pypilot[1031]: zeroconf addresses ['192.168.1.104', '127.0.0.1', '10.42.0.1'] 3
Sep 24 11:53:46 ironic pypilot[1031]: store_file /home/pi/.pypilot/pypilot.conf 774489.513 imu.gyrobias
Sep 24 11:52:55 ironic pypilot[1031]: e is {'192.168.1.104': ServiceInfo(type='_pypilot._tcp.local.', name='pypilot._pypilot._tcp.local.', addresses=[b'\xc0\>
Sep 24 11:52:55 ironic pypilot[1031]: zeroconf exception:
Sep 24 11:52:52 ironic pypilot[1031]: zeroconf addresses ['192.168.1.104', '127.0.0.1', '10.42.0.1'] 3
Sep 24 11:52:46 ironic pypilot[1031]: store_file /home/pi/.pypilot/pypilot.conf 774429.479 imu.gyrobias
Sep 24 11:51:52 ironic pypilot[1031]: e is {'192.168.1.104': ServiceInfo(type='_pypilot._tcp.local.', name='pypilot._pypilot._tcp.local.', addresses=[b'\xc0\>
Sep 24 11:51:52 ironic pypilot[1031]: zeroconf exception:
Added: When i switch to the MPU9255 i get loads of relevant error messages indication the device is not working properly. Apparently, the ICM20948 works much better. I do see something similar to the "jumps" with this one too but it's not at all the same.