//device motion object
Object {
"acceleration": Object {
"x": 0.4774880111217499,
"y": 0.10282400250434875,
"z": -0.38873401284217834,
},
"accelerationIncludingGravity": Object {
"x": -3.1230223178863525,
"y": -8.132352828979492,
"z": -4.447468280792236,
},
"orientation": 0,
"rotation": Object {
"alpha": 2.700334310531616,
"beta": 0.9731265902519226,
"gamma": -0.6596294641494751,
},
"rotationRate": Object {
"alpha": -0.04015243425965309,
"beta": -0.03880959376692772,
"gamma": 0.08099979907274246,
},
}
--------------------------
//Magnetometer
Object {
"x": -15.711748123168945,
"y": -42.86347579956055,
"z": -14.824956893920898,
}
reference:
https://docs.expo.io/versions/latest/sdk/devicemotion/
No comments:
Post a Comment