inet icon indicating copy to clipboard operation
inet copied to clipboard

802.1as

Open jakstevns opened this issue 1 year ago • 5 comments

why not using gptp->setCorrectionField(correctionField + peerDelay + sentTimeSyncSync - receivedTimeSync) but gptp->setCorrectionField(CLOCKTIME_ZERO) in 802.1as(Gptp.cc)

jakstevns avatar Oct 21 '23 07:10 jakstevns

I have no idea. It seems like that the expression should be used instead of 0 but it was commented out for a reason I guess. Needs more investigation.

levy avatar Oct 24 '23 10:10 levy

I would be highly interested in this as well. If someone can find out why this change was made I wouldn't mind fixing it myself.

haug-den-lucas avatar Nov 03 '23 14:11 haug-den-lucas

I have no idea. It seems like that the expression should be used instead of 0 but it was commented out for a reason I guess. Needs more investigation. Now we have three time-aware systems(i-1 ,i ,i+1).I think the newtime should equal the slave_port (i) receiving time of sync from last master_port(i-1),but you using the newtime is current master_port (i) send sync to next slve_port (i+1)time of sync,and PreciseOriginTimestamp if is equal to the time grandMaster takes to send Follow_up, instead of being equal to the time it takes to send Follow_up from the previous time-sensitive systemthe , this why the correction equal zero .

jakstevns avatar Nov 08 '23 02:11 jakstevns

When I was using the result analysis template of GptpAndTasShowcase.anf, I found some problems , indicating the lack of optimparallel, which I could not solve at present. The software version is 6.0.2,the inet framework was recently updated on github 8a1304afb7c3ea22b9a92886ac0929c

jakstevns avatar Nov 08 '23 02:11 jakstevns

optimparallel is a Python library. You can install it with the usual pip3 install optimparallel command.

levy avatar Nov 10 '23 10:11 levy

fixed in master at https://github.com/inet-framework/inet/commit/7fccdb23ba3040bcb025aa5aeca8202eed608978

ZoltanBojthe avatar Mar 27 '24 10:03 ZoltanBojthe