0
Context: Using the sensors of the mobile phone, need to set a running pattern on the treadmill, to know the average speed and distance traveled.
I created a program to print sensor values on the axis x
, y
and z
, and based on this find a pattern. The program generates the data, but I cannot find any pattern.
Maybe you have to base the number of the previous variation and check if the current variation is high or low, so you would determine the speed, for example. But to determine it you would also need to know about the length of the person’s stride, whether the mat is tilted or not, the person’s height, etc, etc. It seems impossible just with this information... Usually applications with this type of behavior work well with GPS and Compass, determining the time run through the location of the device in a street race.
– bio
Apparently the GPS in this situation is useless, since the device will not leave the site. I’m not sure, but I think you’ll have to use Accelerometerplay for this. https://developer.android.com/guide/topics/sensors/sensors_overview
– Diego Venâncio
@Diegovenâncio, yes, GPS is useless. The example I gave was about a street racing.
– bio
First thing you should do is delete the noise from your data. A sensor, even at a standstill, will vary in its measurements, so you need to eliminate this variation from the signal so as not to generate true false ones in your system. In several books on digital signal processing you will be able to find algorithms for this.
– Woss
The program created to analyze the data,
– Astron Gleison
The program used to obtain the data works, so after 5 seconds it starts to pick up the values of x y z of the cell censors, when give 1 minute the program to, I these with a four people, and varying speed, from 6km/h to 18km/h. One idea that I had was to take the force, because for every happiness, the serious person who use more or less strength, but my boss, spoke and if the person who is running too much the force will be bigger, after he said it broke my whole island of reasoning. Thank you so much for trying to give a force in the solution of this problem.
– Astron Gleison
The test program is available at http://dev.cloudgym.com.br/game/
– Astron Gleison