If I use the accelerometer in my phone to record data at 100hz, can I then use that data to model how my phone was moving during that time?

Would I also be able to get "kind of" accurate velocity from this as well?

For reference I am part of a dragon boat racing team and I am trying to find a way to appropriately measure the acceleration and velocity of the boat while my team is paddling.

I have successfully gotten the readings in python with pyqt and graphed them in real time (replay from the data) but I cannot see how to get the 3d object simulation like I would like to see in the end...

  • $\begingroup$ You need to solve two problems. The first is reconstructing the motion from the data. The second is visualizing the motion. To reconstruct the motion, I'd suggest using both accelerometer data and gps data. The two can be combined in various ways. Kalman filters are one way to combine that data. You want to reconstruct the location versus time. Once you have that, you can use the animation nodes plugin to import the location at each frame and set the move an object. $\endgroup$ – Ed Tate Nov 1 '16 at 11:16
  • $\begingroup$ ok I will look into combiming GPS data. BUT....assuming that I am not so concerned with GPS data and exact vector (I would assume that the boat is traveling in a straight line) Could I get the proper axis (X or Z?) acceleration and subtract the negative acceleration to get an estimated speed or am I missing something in the calculation? $\endgroup$ – deltaskelta Nov 1 '16 at 12:16
  • $\begingroup$ You should be able to integrate the acceleration to get velocity, then integrate velocity to get the position versus time. Once you have that, you can animate the position versus time. $\endgroup$ – Ed Tate Nov 2 '16 at 2:14
  • $\begingroup$ hmmm...@EdTate...since the phone GPS can be off by a factor of meters...say I had [1. Fixed starting point, 2. fixed ending point with accurate tripwire timer, 3. accelerometer data] would that be enough to do it as well without gps readings? I am worried that the GPS will be too wildly inaccurate. $\endgroup$ – deltaskelta Nov 2 '16 at 5:38
  • $\begingroup$ Read the following link: Visualizing an iOS device in Blender Through Quantum Entanglement $\endgroup$ – cegaton Apr 16 '18 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.