Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kalman Filter error violation writing location #42

Open
Patsufr opened this issue Nov 21, 2021 · 2 comments
Open

Kalman Filter error violation writing location #42

Patsufr opened this issue Nov 21, 2021 · 2 comments

Comments

@Patsufr
Copy link

Patsufr commented Nov 21, 2021

Hi @doughtmw ,
I'm trying to use your code with the Kalman Filter but i have an error of violation writing location in media groupe framework. Do you any idea how to resolve this problem ?
image

Thanks

@doughtmw
Copy link
Owner

Hi @Patsufr, sorry for the delayed response. I think this error was caused by the measurements vector not being correctly initialized in the code. The change is at line:

https://github.com/doughtmw/HoloLensForCV/blob/ea1c94b395065231276afb9498468609c0467d1a/Shared/HoloLensForCV/MediaFrameSourceGroup.cpp#L247

This should be fixed in the recent commit, though I haven't tested with Kalman filter tracking.

@Patsufr
Copy link
Author

Patsufr commented Mar 11, 2022

Thanks i will try this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants