Page 1 of 1
Wrong value for location_speed
Posted: 18 Feb 2015 08:27
by nanobot
Hi, in my flows I'm using the action Init Variable Location. Everything works fine, but the value of location_speed seems to be not correct for me. At ~50 km/h it is ~100. In the forum I found its unity to be m/s. Thus, my speed was 360 km/h?!
On the journey to work?! Not on Monday!!
Therefore it definitely doesn't match. (The accuracy was given between 1 and 10. What does the value mean (gps precision in m)? GPS location provider is set to high accuracy. The location was being initialized every 30 s within a loop for more than 5 min.)
Is it a general issue?
Re: Wrong value for location_speed
Posted: 18 Feb 2015 20:08
by Martin
100m/s sounds a bit high to me
Do you always get speed values that high or do you usually get a more accurate result? Did you use action
Init Variable Location to get the location? What location provider did you use in the action itself, GPS or 'High accuracy'?
I rarely use the location_speed on my own but I will make some tests tomorrow to see if I also get wrong results. What device model and Android version are you using?
Regards,
Martin
Re: Wrong value for location_speed
Posted: 21 Feb 2015 10:11
by nanobot
My fault. Everything works great. I swaped two elements of the array.
Sry.
Re: Wrong value for location_speed
Posted: 21 Feb 2015 13:46
by Martin
No problem, glad to know that it works