zesage / motion_sensors

Flutter plugin for accessing the Android and iOS accelerometer gyroscope and magnetometer sensors.
Apache License 2.0
42 stars 49 forks source link

How can I get the deviceMotion.attitude.rotationMatrix? #14

Open chuyentt opened 2 years ago

chuyentt commented 2 years ago

Dear @zesage, Thank you for creating a useful package. I need to determine the rotation matrix according to the attitude of the device. In iOS it is motionManager.deviceMotion.attitude.rotationMatrix, in there:

Can you help me?