Skip to main content
Visitor II
May 31, 2019
Question

LSM6DSO inclinometer

  • May 31, 2019
  • 4 replies
  • 718 views

Hi,

I was playing around with Unico and I saw it has an inclinometer function. Is the code for that window available:? I tried an implementation with Kalman filter, but the Unico seems to show the angles much better.

Regards,

Gabriel

    This topic has been closed for replies.

    4 replies

    ST Employee
    May 31, 2019

    Hi Gabriel, welcome back. Unfortunately the source code for Unico is not available... You could however manage to implement the inclinometer function using the Tilt detection using the MotionTL middleware library of the X-CUBE-MEMS1 (here). Regards

    Visitor II
    May 31, 2019

    Hi Eleon,

    Unico uses the same middleware?

    Regards,

    Gabriel

    ST Employee
    June 3, 2019

    ​yes Gabriel, almost similar. Sorry for my question, but are you interested in the algorithm results or in the graphical rendering of the inclinometer measure? Are you finding some lack of accuracy in using that libraries? Regards

    Visitor II
    June 3, 2019

    Hi Eleon,

    I am intrested in the algorithm, not the GUI. Tomorrow I will try to use MotionTL and see how it goes. Actually, I need it in Python, but if I have it in C I can just convert it.

    Regards