measuring time from tf server to web client
Hello everyone I was trying to measure time that would take a tf from the server to a client web page inside a websocket communcation. A kind of a ping. I was thinking about synchronizing the server and the client clock, but a ping is also a matter of milliseconds. Any ideas please!
Asked by Monte-Cristo on 2016-11-03 07:30:32 UTC
Comments
What are you aiming for? The tf messages have stamps on them, can you use that stamp for synchronization?
Asked by huanxiner on 2016-11-03 13:33:13 UTC
I found this post wherein it's explained how to measure the diffrence between the client and the server clocks. I suppose that I can use it to calculate "travel time" of tf in a websocket. Isn't it?
Asked by Monte-Cristo on 2016-11-04 11:48:43 UTC
Yes you can first solve the time difference d in that post, then estimate travel time of each communication. But the travel time will vary each time so I don't see why you would want to calculate travel time for synchronization purpose.
Asked by huanxiner on 2016-11-04 14:51:21 UTC
Actually I want to know how long would take a tf to "travel" from the server to the web page in the visualizing urdf example by synchronizing clocks will help me to figure it out. So the main purpose is to have travel time inside a websocket
Asked by Monte-Cristo on 2016-11-04 19:27:32 UTC