2023-06-23, 04:22 PM
if you run pypilot as root the pi may reboot. Thanks for mentioning this again. When it is run as a service it is not run as root.
I did find a bug in the unstable branch of pypilot preventing calibration when running pypilot_boatimu, but I am assuming you are using master branch?
Could you try running the pypilot service (not pypilot_boatimu) as a regular user? There should be debugging output in the console on the lower left every 30 seconds or so, your screenshots do not show this.
As for the screenshots, these indicate the sensors are not leveled or the sensors are different from most. The red cone with white line should be parallel yours seem perpendicular which may indicate as you suggest that the driver needs to swap some axes. It is strange because these chips are 9 axis parts and I have never seen alternate sensor orientations unless it is a different board.
Can you post a picture of the exact sensor you are using? Where did you get it?
I did find a bug in the unstable branch of pypilot preventing calibration when running pypilot_boatimu, but I am assuming you are using master branch?
Could you try running the pypilot service (not pypilot_boatimu) as a regular user? There should be debugging output in the console on the lower left every 30 seconds or so, your screenshots do not show this.
As for the screenshots, these indicate the sensors are not leveled or the sensors are different from most. The red cone with white line should be parallel yours seem perpendicular which may indicate as you suggest that the driver needs to swap some axes. It is strange because these chips are 9 axis parts and I have never seen alternate sensor orientations unless it is a different board.
Can you post a picture of the exact sensor you are using? Where did you get it?