cancel
Showing results for 
Search instead for 
Did you mean: 

lsm6dso 6d/4d orientation

Varsha
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

5 REPLIES 5
Varsha
Associate III

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?

Federica Bossi
ST Employee

Hi @Varsha ,

You can refer to this example.

Hope this helps 🙂

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

@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? 

>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.

If you feel a post has answered your question, please click "Accept as Solution".

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.