Skip to main content
Associate III
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
Associate III
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?

Federica Bossi
Technical Moderator
March 26, 2024

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.
VarshaAuthor
Associate III
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? 

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

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