skittlemittle / shakyroads

logs acceleration and location coordinates in a csv, abandoned till later
MIT License
0 stars 0 forks source link

better saving #7

Open skittlemittle opened 5 years ago

skittlemittle commented 5 years ago

currently the app only saves the newest accelerometer reading each time there is a new GPS reading, this might be undesirable so maybe save the RMS of all the readings for each location or the average?

or save new data on a time interval but this may also be problematic?

skittlemittle commented 4 years ago

each new acceleration reading gets appended to a list of acceleration readings, THEN each time there's a new location update the list gets flushed and you save:

locationX, locationY, [list of accX], [list of accY], [list of accZ]