/GetGyroAndAccelerometerData

Get gyroscope and accelerometer data and export to CSV using Swift

Primary LanguageSwift

GetGyroData & Accelerometer data -> to CSV

Easy way to get gyroscope and accelerometer data and write the output on a CSV. I used CoreMotion for accessing the data and SwiftUI for the UI. I made this sample code because the one I found on the documentation or the projects aren't really working or updated.

With the latest update you can record also Accelerometer data and write a CSV after pausing the recording

How to access the CSV?

  1. Schermata 2022-05-28 alle 00 02 50
  2. Schermata 2022-05-27 alle 23 36 20
  3. Schermata 2022-05-27 alle 23 36 38
  4. Schermata 2022-05-27 alle 23 36 54

Screenshots