IMUType Value gets overwritten - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4) +--- Thread: IMUType Value gets overwritten (/showthread.php?tid=1674) |
IMUType Value gets overwritten - didilodo - 2019-02-14 Hi All, I have an LSM303DLHC Sensor Acceleration and Compass. According to the file RTIMULib.ini in /home/pi/pypilot the correct value for this sensor is IMUType 4. The thing is when I configure this value by hand in the mentioned file and go to the pypilot tab in openplotter the sensor is correctly detected and displayed. When I then change the pypilot status to IMU only and apply the change. The file RTIMULib.ini gets overwritten with a new value for IMUType = 13. No matter what I tried so far the value gets reset to 13. Is anybody having an idea what could be the cause of this behavior and how I can get it fix on type 4. I use oppenploter v1.2 Kind regards, didi RE: IMUType Value gets overwritten - didilodo - 2019-02-14 I was able to fix pyplot to use IMUType 4 by editing boatimu.py by dsiabling auto detection. However I get the following error in the terminal where I started openplotter. Using settings file RTIMULib.ini Using fusion algorithm Kalman STATE4 IMU Name: L3GD20 + LSM303DLHC min/max compass calibration not in use Using ellipsoid compass calibration Using accel calibration Incorrect L3GD20 id 60 ERROR: IMU Init Failed, no inertial data available Any ideas? best regards, didi |