traccar-client-android
traccar-client-android copied to clipboard
speed zero
Hello, I use this APP on my smartphone, the server is deployed on my cloud platform, the program can run correctly, but the speed is always zero (the speed of the test is 50Km/h).
Have you changed accuracy to HIGH?
I don't change it. I'll try it. Thank you for your enthusiasm
@tananaev Hello master.I set up according to your prompt, but the speed is still 0.
OK, are you sure that you have a GPS signal?
,Yes,i am sure. I've changed three mobile phones, speed still 0。
OK, how do you know that it has?
My car is on the freeway, I use GPS Status APP,Can get GPS

Both course and speed are zero, so it's most likely network location, not GPS.
@tananaev Hi master.The report screenshot :

@tananaev My GPS has been opened, how to set up the GPS update location.
OK, please provide screenshots:
- Android settings showing that GPS is enabled.
- App settings screen showing that high accuracy is selected.
- Screenshot with GPS icon on the status bar showing that you have a fix.
It's dark. I'll test it tomorrow. Thank you very much.
@tananaev The problem is solved. The location mode of mobile phone is set to use GPS only。Thank you for making such a great procedure.
I am a new user of tracar and also had the issue of no speed showing for my android client. Did I understand correctly that for speed to show I need to set the accuracy on the client side to high?
is there a documentation for the other parameters, i.e. Frequency, Distance and Angle?
Speed needs GPS to be turned on
Yes, accuracy needs to be set to high.
Fused location can get a speed without GPS ?
It might get it from other sensors (e.g. magnetometer).
Ok, my bad. Read that somewhere but never got this case, please ignore my answer :) So it's really better, then. Cool !
Thanks for confirming. I set accuracy to high and I got speed information when driving home.
It seems #352 would fix this problem - send null (or not send it at all), show " " or "N/A" instead of 0 when there is no data so that user isn't fooled that it is zero.
@stefanb To be honest, #352 will fix part of the problem, because server-side unknown or undefined values will default to 0, and not NULL:
- latitude/longitude
- speed
- bearing
- altitude
- accuracy
#352 is a small step towards having the problem solved, but upstream doesn't seem like wanting to fix database schema issues.
@stefanb See https://github.com/traccar/traccar-client-android/pull/353 also.
Yes, all those optional values should be nullable in the DB as well, otherwise the DB will contain some fake default values, most likely zeros.
@stefanb There are matching (closed) issues in the server repository.