phyphox Forums
Display bug on iOS - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6)
+--- Forum: Bugs and Problems (https://phyphox.org/forums/forumdisplay.php?fid=9)
+--- Thread: Display bug on iOS (/showthread.php?tid=1275)



Display bug on iOS - Gautier Creutzer - 01-25-2021

Hello!



I am currently working on making simple games using Phyphox, including a game to discover the gyroscope, in which the player has to reach a value of around 4rad/s during 2s, so they get a secret code. The game is working fine, except for display problem on iOS. I added straight red lines to the graph, so the player can easily see when they are between 3 and 4 rad/s. However, those lines are not shown on iPhones. Do you know how to solve this? (Sorry for the text in French in the screenshots)

Android:
[Image: android.jpg]

iOS:
[Image: ios.png]


Thank you!

Gautier


RE: Display bug on iOS - Sebastian Staacks - 01-26-2021

Took me a while to spot the problem:
You are using the "add" module with only a single input, which usually does not make much sense. Yes, it is allowed according to our documentation (I had to check myself what is supposed to happen in this case) and it should indeed behave like the Android version does by simply sending the input to the output as nothing is added. I have to check why this is not working on iOS and will fix it for the next update.

However, since you just do this to append data to another buffer, I would recommend using "append" instead as that is what "append" is for - just replace the first three "add" tags with "append" and it should be working fine. As a bonus, it makes clearer what is supposed to happen Wink


RE: Display bug on iOS - Gautier Creutzer - 01-27-2021

Thank you Sebastian, everything is working perfectly now!