05-03-2023, 10:52 AM
I knew that this would be good the moment I saw the GPL text at the top
It took quite a while for me to track down the problem, but in the end it is a very simple bug in the iOS version of phyphox: The averaging for the abs (w of the quaternions) channel is broken simply because it does not reset the internal sum for each average. Will be fixed in the next release of phyphox, but for now the only workaround is to disable averaging. If you need the average right now to make the reading more stable, you can record several values into a larger data container (you are already collecting 10 values anyway), put them into the average module (https://phyphox.org/wiki/index.php/Analy...es#average) and use its output instead.
Sorry, about that bug. Hope you did not waste too much time on it.
It took quite a while for me to track down the problem, but in the end it is a very simple bug in the iOS version of phyphox: The averaging for the abs (w of the quaternions) channel is broken simply because it does not reset the internal sum for each average. Will be fixed in the next release of phyphox, but for now the only workaround is to disable averaging. If you need the average right now to make the reading more stable, you can record several values into a larger data container (you are already collecting 10 values anyway), put them into the average module (https://phyphox.org/wiki/index.php/Analy...es#average) and use its output instead.
Sorry, about that bug. Hope you did not waste too much time on it.