Get dt for numerical integration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Get dt for numerical integration

999 次查看
aminesedki_as
Contributor I

I want to implement a complementary filter for IMU data fusion than i can't see how we can get the time delay after each data sampling this time will be used for gyroscope numerical integration (dt), i want to know also if there is a function in MCUXpresso API that could help me.

Thanks for you.

Sincerely.   

标签 (1)
0 项奖励
回复
4 回复数

905 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Dear aminesedki.as@gmail.com‌,

 Could you let me know which MCU are you using?

Best Regards,
Alexis Andalon

0 项奖励
回复

905 次查看
aminesedki_as
Contributor I

Hello,

I use the a TWR-K60D100M which include a Kinetis K60 32-bit MCU.

Thanks for your quick reaction.

0 项奖励
回复

905 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Dear Amine,

If you only need certain delay between the sampling you could try using a timer to do it. Maybe the FlexTimer examples could help with it.

Also the using the PDB module could be a good option for it.

You can find examples for this two modules in the SDK.

I hope this helps you.

Best Regards,

Alexis Andalon

0 项奖励
回复

905 次查看
aminesedki_as
Contributor I

Dear Alexis,

Thanks for your quick reaction, i will try this two modules.

Regards,

Amine Sedki

0 项奖励
回复