Wrong value for location_speed

Post your questions and help other users.

Moderator: Martin

Post Reply
nanobot
Posts: 13
Joined: 10 Aug 2014 11:00

Wrong value for location_speed

Post by nanobot » 18 Feb 2015 08:27

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?! :o On the journey to work?! Not on Monday!! :lol: 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?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Wrong value for location_speed

Post by Martin » 18 Feb 2015 20:08

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

nanobot
Posts: 13
Joined: 10 Aug 2014 11:00

Re: Wrong value for location_speed

Post by nanobot » 21 Feb 2015 10:11

My fault. Everything works great. I swaped two elements of the array. :roll: Sry.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Wrong value for location_speed

Post by Martin » 21 Feb 2015 13:46

No problem, glad to know that it works :-)

Post Reply