ArUcoDetectionHoloLens-Unity
ArUcoDetectionHoloLens-Unity copied to clipboard
Kalman Filter error violation writing location
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 ?
Thanks
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.
Thanks i will try this :)