OpenMarine
IMU fails to be detected - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18)
+--- Thread: IMU fails to be detected (/showthread.php?tid=1358)



IMU fails to be detected - Johnnysails - 2018-07-30

I have failed dismally in trying to get my Adafruit LSM303DLHC + L3GD20 chipped IMU board working. See my post on "How do I". The i2c addresses are detected as 19 and 1e. The RTIMULib settings file however always defaults to IMU type13 and my IMU is never detected.
I would appreciate any advice on an IMU that is known to work properly on the latest version of openplotter pypilot 1.1.0. alpha.


RE: IMU fails to be detected - seandepagnier - 2018-08-02

(2018-07-30, 10:54 PM)Johnnysails Wrote: I have failed dismally in trying to get my Adafruit LSM303DLHC + L3GD20 chipped IMU board working. See my post on "How do I". The i2c addresses are detected as 19 and 1e. The RTIMULib settings file however always defaults to IMU type13 and my IMU is never detected.
I would appreciate any advice on an IMU that is known to work properly on the latest version of openplotter pypilot 1.1.0. alpha.

Try deleting the RTIMUlib

I just fixed this in pypilot a few days ago. It can switch to any supported sensor without restarting the autopilot.


RE: IMU fails to be detected - Johnnysails - 2018-08-03

(2018-08-02, 08:40 PM)seandepagnier Wrote:
(2018-07-30, 10:54 PM)Johnnysails Wrote: I have failed dismally in trying to get my Adafruit LSM303DLHC + L3GD20 chipped IMU board working. See my post on "How do I". The i2c addresses are detected as 19 and 1e. The RTIMULib settings file however always defaults to IMU type13 and my IMU is never detected.
I would appreciate any advice on an IMU that is known to work properly on the latest version of openplotter pypilot 1.1.0. alpha.

Try deleting the RTIMUlib

I just fixed this in pypilot a few days ago. It can switch to any supported sensor without restarting the autopilot.

(2018-08-03, 10:15 AM)Johnnysails Wrote:
(2018-08-02, 08:40 PM)seandepagnier Wrote:
(2018-07-30, 10:54 PM)Johnnysails Wrote: I have failed dismally in trying to get my Adafruit LSM303DLHC + L3GD20 chipped IMU board working. See my post on "How do I". The i2c addresses are detected as 19 and 1e. The RTIMULib settings file however always defaults to IMU type13 and my IMU is never detected.
I would appreciate any advice on an IMU that is known to work properly on the latest version of openplotter pypilot 1.1.0. alpha.

Try deleting the RTIMUlib

I just fixed this in pypilot a few days ago. It can switch to any supported sensor without restarting the autopilot.
Thanks for the reply.
Forgive my ignorance, how do I update pypilot to incorporate that fix, outside a general OpenPlotter update. I had previously deleted both RTIMULib.ini files from the pypilot folder without any success in recognising my IMU, maybe they are not the correct files to delete.


RE: IMU fails to be detected - seandepagnier - 2018-08-03

I have a few imu that are not detected. You might need to modify the source code.


RE: IMU fails to be detected - Johnnysails - 2018-08-03

My IMU is in the RTIMULIb list. Where would I find the source code to edit. I’m not a software engineer so don’t have a clue about what to do but I am interested in learning.


RE: IMU fails to be detected - seandepagnier - 2018-08-04

The instructions for building are in the README file in the base of the source repository.