Complementary Filter Reset Orientation

조회 수: 9 (최근 30일)
Alexis
Alexis 2023년 12월 7일
댓글: Alexis 2024년 1월 8일
Hi all,
I am using the complementary filter block on Simulink to estaimate the Orientation of my IMU. This seems to be working okay. But what I can't seem to figure out is how to reset the Orientation to either no rotation (so as if I start measuring again) or to a specific orientation. Is there a possibility to do this with the Block?
I could do it afterwards, by using a boolean which stores the orientation at the specific point in time I want to reset it and then just rotates the orientation back by that amount, but there must be a better solution for this.
I hope I could explain the problem well enough, but if not, don't hesitate to ask!
Thanks!
  댓글 수: 2
Arun
Arun 2023년 12월 26일
@Alexis do you want to change the orientation to different values during the simulation?
Alexis
Alexis 2024년 1월 8일
Well, yes and no. I have another method of calculating the orientation that is much more precise, but which I only do every couple of minutes. So the goal would be to update the current orientation with the one I calculated precisely every couple of minutes and then continue integrating from that one using the IMU until I have a new precise measurement.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Unit Conversions에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by