2017-04-12, 07:17 PM
Hola!
I've been fiddling with an MPU-9255-based IMU, and using the code on this forkĀ https://github.com/Nick-Currawong/RTIMULib2, I've been able to properly detect and calibrate the unit.
The problem is that if I move the newly compiled code into Openplotter, it fails to start. I'm fairly certain it is due to a check of the .ini setup file for the proper IMU type. In the IMU code that comes with Openplotter, the IMU types go up to "10", while with the new code, the MPU-9255 is type "11". Apparently there is something in the Openplotter start-up code that checks this, as I can change that one item in the .ini file to another value and Openplotter starts properly.
Sailoog, would you have a moment to tell me where in the code this check is happening? I'm happy to modify the code on my own, I just don't know where to look for it.
Thanks, and thanks for spending so much time to create a great system for all of us.
I've been fiddling with an MPU-9255-based IMU, and using the code on this forkĀ https://github.com/Nick-Currawong/RTIMULib2, I've been able to properly detect and calibrate the unit.
The problem is that if I move the newly compiled code into Openplotter, it fails to start. I'm fairly certain it is due to a check of the .ini setup file for the proper IMU type. In the IMU code that comes with Openplotter, the IMU types go up to "10", while with the new code, the MPU-9255 is type "11". Apparently there is something in the Openplotter start-up code that checks this, as I can change that one item in the .ini file to another value and Openplotter starts properly.
Sailoog, would you have a moment to tell me where in the code this check is happening? I'm happy to modify the code on my own, I just don't know where to look for it.
Thanks, and thanks for spending so much time to create a great system for all of us.