AndroSensorGTK

A Blender plugin that uses phone gyroscope data as keyframes

Get it running

Steps on your phone

  1. Install the AndroSensor app (free) on your Android Phone
  2. Open the AndroSensor app and tweak the apps settings to the following:
  3. Update Interval -> Very Fast
  4. Lock orientation -> True
  5. Keep screen on -> True
  6. Active Sensors -> Only GYROSCOPE
  7. CSV file format -> ;
  8. Recording Interval -> Activate fast mode and set it to 0.100~0.200 seconds
  9. Press the arrow button on the top to open the toolbar menu
  10. Press the red record button to start recording keyframes

Step 1-3 is for convenience only, you might aswell choose the settings you prefer.

Steps in Blender

  1. Just install the plugin as you install any other plugin:
  2. Download the py file (direct link)
  3. In Blender, go to Edit -> Preferences -> Addons -> Install...
  4. Choose the py file
  5. In the Objects panel, scroll down to “AndroSensor GTK”
  6. Choose the .csv file created by the Android app
  7. Click add keyframes

Troubleshooting

Python Error too many values to unpack

You chose the wrong sensors on the Android app, just select GYROSCOPE there. AndroSensorGTK does not work with accelerometer (or any other sensors than the gyroscope)!

Can I use other sensors with this add-on?

AndroSensorGTK does not work with accelerometer (or any other sensors than the gyroscope)!

I have a feature request or issues

Please contribute!

Contributors