Real time tracking

JohnDoe2 months ago

I have traccar android client application set to report location every 1 second.
But, when I look at the device movement on traccar server refreshed position of the device that is presented is every like 10-15 meters?
Can it be like, every 1 second?

Anton Tananaev2 months ago

What accuracy are you using?

JohnDoe2 months ago

Filter accuracy is 10m. Outside I had 3.2 m accuracy.

Anton Tananaev2 months ago

Not sure what you mean by this. I'm asking what accuracy you have configured in the client app.

JohnDoe2 months ago

Sorry, in client app Location accuracy is HIGH.
I have configured accuracy filtering:

<entry key='filter.enable'>true</entry>
<entry key='filter.accuracy'>10</entry>

And

<entry key='geocoder.reuseDistance'>10</entry>
Anton Tananaev2 months ago

High accuracy should be able to provide location every second, but it's possible that there are some issues with GPS signal.

JohnDoe2 months ago

So I should be able to see location of each second on the map?

Anton Tananaev2 months ago

If there's some issues with GPS signal then probably no.

JohnDoe2 months ago

I know I do not have GPS issues, because the blue dot is the same android device as followed one over the server. So on this android I have traccar manager and traccar client. When I click locate button blue dot is moving every second...but followed device over traccar client is late in positioning as you can see on the picture.

1000044469.jpg

JohnDoe2 months ago

I was driving a car today, it does not have anything with meters...it is like the position on the screen is refreshed after 30-40 seconds...but client is sending position every 1 second...

Anton Tananaev2 months ago

I actually see the red dot on your screenshot, which indicated that WebSocket is not connected. That would explain the issue.

JohnDoe2 months ago

Ok, can you give me some detail on how to fix the problem?

Anton Tananaev2 months ago

You need to figure out what the root cause of the problem is. If you're using some proxy, try without it and see if it works. If not, it could be that your network provider is blocking WebSockets. Try locally.

JohnDoe2 months ago

I am using the proxy...to proxy from port 443 to default 8082...

Nst Alarcona month ago

I would like to know if it is truly possible to transmit data every second from the Traccar client. As far as I understand, there is typically some latency in the transmission from the client to the platform. If you have successfully achieved this, I would appreciate it if you could share the configuration you used.