omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    What is the accuracy of touch.timestamp and touch.location?

    Pythonista
    2
    2
    925
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lucast4
      lucast4 last edited by

      I am developing a program that needs to collect precise and accurate data (i.e., position and time) regarding touches. I am collecting those data using to following code:

      data = []
      x, y = touch.location
      t = touch.timestamp
      data.append((x,y,t))

      I am using this on the regular Ipad (6th gen)

      How precise and accurate are x, y, and t? I looked at the docs (http://omz-software.com/pythonista/docs/ios/ui.html#ui.Touch), but I cannot seem to find this information anywhere.

      Thanks!

      mikael 1 Reply Last reply Reply Quote 0
      • mikael
        mikael @lucast4 last edited by mikael

        @lucast4, suggest looking for the information in general Apple UIKit docs first (e.g. this). Location accuracy should be 1:1, timing accuracy could be as well.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB Forums | Contributors