sigge
Oct 16, 2019 - 11:52
This simple example return a zero-vector, ie. no values for for the gravity (returns (0.0, 0.0, 0.0)). Why?
Running on iPad Pro 2019.
import motion
def main():
motion.start_updates()
mf = motion.get_gravity()
print(mf)
motion.stop_updates()
if __name__ == '__main__':
main()