Skip to main content
lyiku.1
Associate II
October 30, 2024
Solved

MotionEC MotionEC_manager_run() output quaternion and euler is always 0? STM32CB+LSM303DLHC

  • October 30, 2024
  • 1 reply
  • 698 views

4.jpg3.jpg

Best answer by MRobinsonGI

I haven't personally used or seen MotionEC header file, (been using MotionFX). But assuming they're implemented in a similar manner - double check the header file and see if there any "enable" functions that need to be called before you call any run/calculate() functions to get quarternion/euler values generated.

 

1 reply

MRobinsonGIBest answer
Associate
October 30, 2024

I haven't personally used or seen MotionEC header file, (been using MotionFX). But assuming they're implemented in a similar manner - double check the header file and see if there any "enable" functions that need to be called before you call any run/calculate() functions to get quarternion/euler values generated.