Request for Testing (Accelerometer)

About Monkey 2 Forums Monkey 2 Projects Request for Testing (Accelerometer)

This topic contains 2 replies, has 2 voices, and was last updated by  abakobo 1 month, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15566

    arpie
    Participant

    I’m interested to know if @anatol‘s Accelerometer class (and therefore SDL’s accelerometer joystick) works consistently across all devices, particularly with respect to axis orientation.  I have created this :

    https://github.com/arpie42/spinner

    and would be grateful if people could compile and test on various android and ios devices and post your results here.

    If all goes well, the spinning top should remain upright compared to the physical world, regardless of your device orientation.

    All comments, criticism, requests for changes will be gratefully received.

    Tested successfully here on a Samsung S7 and a Lenovo Yoga Book tablet.  That’s all I have!

    Also, @mark, if you see this by some random chance, I think this demo if ripe for use as a banana – feel free to add it to the monkey2 repo.

    #15567

    arpie
    Participant

    It should look something like this :

    It should look something like this

    My phone is upright, tilted 45 degrees to the right.  If the spinner is much bigger or much smaller, then there is a calibration issue, or if it lies on its side, there is an axis inversion.

    #15568

    abakobo
    Participant

    Unfortunately on my iphone6s it’s only moving front-back in reverse but no left-right.
    On my Acer Jade s56 it’s only moving front-back, no left-right.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.