Does eCAL automatically do time synchronization / offset estimation between hosts? #977
-
While I was testing send and receive eCAL messages over TCP between two hosts, I realise eCAL Mon prompts me saying the time synchronisation is off. This makes me wonder, does eCAL already have mechanism to automatically estimate the time offset between the two hosts? If eCAL does, how should I change its behaviour:
I also would like to know, if it is a pure software sync method, or it could also utilise Ethernet hw infra, like PTP protocol? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
I found something very interesting, but has little clue on if this is already implemented fully, or just a test. https://github.com/eclipse-ecal/ecal/blob/master/contrib/ecaltime/linuxptp/src/config/ecaltime.ini I would like to find the most pratical way to obtain the clock offset between two hosts, so in the receiving side, i could subtract away the offset from the message I am receiving! |
Beta Was this translation helpful? Give feedback.
-
I will take your Question as a motivation to finally write some documentation about time-synchronization. But let me already summarize it shortly here:
How to check for obvious timesync errors:
|
Beta Was this translation helpful? Give feedback.
-
@FlorianReimold
|
Beta Was this translation helpful? Give feedback.
-
A more specific question. What does these API suppose to do? |
Beta Was this translation helpful? Give feedback.
I will take your Question as a motivation to finally write some documentation about time-synchronization. But let me already summarize it shortly here:
ecal.ini
. Those plugins are meant to connect to third party timesync implementations