Wow! Thanks a lot!!!
class CMRotationRate (Structure):
fields = [('x', c_double), ('y', c_double), ('z', c_double)]
and
gyro_data.rotationRate(argtypes=[], restype=CMRotationRate)
was exactly the answer I searched for.
It was my last open issue impementing an AHRS algorithm on Pythonista.
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.