Skip to main content
Graduate
March 22, 2024
Solved

lsm6dso 6d/4d orientation

  • March 22, 2024
  • 2 replies
  • 1882 views

Is it necessary to enable Free Fall detection in order to detect orientation changes? What role does Free Fall (FF) play in this context? Additionally, is there a way to set a threshold force for detecting orientation changes, such as when the IMU is rotated left or right with a certain force, triggering an interrupt?
And also can you share the code of 6d detection for lsm6dso

    This topic has been closed for replies.
    Best answer by Federica Bossi

    You can use the six_d, it could be better. Thanks for notice!

    2 replies

    VarshaAuthor
    Graduate
    March 25, 2024

    Is it necessary to enable Free Fall detection in order to detect orientation changes? What role does Free Fall (FF) play in this context? Additionally, is there a way to set a threshold force for detecting orientation changes, such as when the IMU is rotated left or right with a certain force, triggering an interrupt?
    And also can you share the code of 6d detection for lsm6dso?

    Technical Moderator
    March 26, 2024

    Hi @Varsha ,

    You can refer to this example.

    Hope this helps :)

    VarshaAuthor
    Graduate
    March 26, 2024

    @Federica Bossi Thank you for the example. 
    Why are we generating interrupt on freefall? instead of six_d for orientation detection? is there any specific reason? 

    Super User
    March 26, 2024

    >Why are we generating interrupt on freefall?

    This is/was for protecting things like a laptop with hard drive, bringing the drive heads to a save position, as soon as freefall begins, to have better chance to save it at the hard "landing" then.

    So if you dont need it for protection at free fall, no need to use it.