Any news about Siri-remote gyroscopes access ?
It is frustrating working only with the data from the accelerometers !
Any news about Siri-remote gyroscopes access ?
It is frustrating working only with the data from the accelerometers !
Quaternions and rotation are not available as of beta three. If you are trying to calculate tilt this can be approximated with just an accelerometer. Some of the keynote apps suggest that they were using rotation. Like the golf reference. Hopefully it's turned off in software right now and that the remote is capable of transmitting the motion packets for gyro. RPY > Euler What does your application do? For the meantime I was writing a Bluetooth remote for iPhone that would transmit core motion packets to Apple TV. If you're interested in accelerometer tilt detection I can add some reference material. For example you could get the angle of the remote "stirring wheel" but you could not get the rotation of the wheel yet. It's in the API I'm hoping it comes sooner than later.
I tried some algorithms with tilt and displacement obtained from accelerometers data, with not good results. In my app I need to track a repetitive movement over an arch from -30º to +30º.
Until this moment the best solution for me is to compute the accelerometer data direcly with UikitDinamycAnimator, adapting lateral acceletarion as a force. This works well when the movement is symetric and fast, but not good on low or irregular motions.
Of course I think this track problem can be easly solved with Yaw data (from siri-remote would be great, from iOS device It is also acceptable).
At rest the accelerometer seems to be quite stable. Only a few micro g's of noise. Accel sensors are inheritely prone to noise while in motion. Printing the time stamps between updates suggested a sample rate of 66 hz. Perhaps you could try a rolling average to smooth your tilt eq inputs. I haven't used the uikit animator yet. What's the name of that API?
These are the UIKit framework classes I referenced before:
Well, we are now in GM 😎, but the gyros still not accessible 😢.
Bye bye my new app...
First thing I checked. They were show casing apps that appeared to be taking advantage of the sensors. Wondering if it will be a timed enable like the App Store.
We'll wait. I suppose there is no much more that we can do, but It would be great that someone tell us something... 😕
Will have Apple TV an extra hardware for enhanced Siri-Remote movement detection, like motion plus kit?