Asset Orientation data is only set once after turning the device on

Hello nordic team,

The Asset Orientation data is sent only once after starting the device. How can we explain this behaivor?
I have asset tracker v1 on the device. i would like to keep v1. I just need the asset orientation data continuously. Could you tell me how to ensure that? What parameters i may need to adjust in the code? For reference, I have the video on youtue from nordic semiconductor titled 'Introducing The Nordic Thingy:91 Cellular IoT prototyping platform' starting at minute 41:40.
www.youtube.com/watch

Best regards,
Harun

  • Hello Harun,

    How can we explain this behaivor?

    You have to rotate your Thingy:91 to get an update on the orientation. The default threshold is set to 5.0. I have tested this on my side and it appears to work as expected, see picture below.






    I have asset tracker v1 on the device. i would like to keep v1. I just need the asset orientation data continuously. Could you tell me how to ensure that? What parameters i may need to adjust in the code?

    All motion related functionality is implemented in motion.c. You might want to take a look at the get_orientation() function.

    Regards,

    Markus

Related