Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Accelerometer data‏
QtWS25 Last Chance

Accelerometer data‏

Scheduled Pinned Locked Moved General and Desktop
sensors
3 Posts 2 Posters 1.1k Views
  • 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.
  • D Offline
    D Offline
    deleted6
    wrote on last edited by
    #1

    Hi!
    I am building an app where I have to compare accelerometer data. That is, I am calculating vectors, and then using cosine similarity to compare them. Now this app is supposed to be cross-platform, I've registered the main data (ie the one that the others compare to) on an Android device, then I launched the app on a Linux (non-Android) device. Even though I am doing the same thing, my similarity is around 0 (it is between -1 - complete opposite and 1 - exactly the same). Could this be due to the platform change, or does Qt perform some kind of normalization?
    Thanks.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welome to devnet,

      Are you user you have an accelerometer on your Linux device ? If so is it known to Qt ? You should be able to identify the plugin used by launching your application with QT_DEBUG_PLUGINS=1 set.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welome to devnet,

        Are you user you have an accelerometer on your Linux device ? If so is it known to Qt ? You should be able to identify the plugin used by launching your application with QT_DEBUG_PLUGINS=1 set.

        D Offline
        D Offline
        deleted6
        wrote on last edited by
        #3

        @SGaist Yes it works perfectly, it's just that the data is different (because one system uses QtSensors/Android and the other QtSensors/Linux, so I am asking if Qt performs normalization)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved