-
Notifications
You must be signed in to change notification settings - Fork 486
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GateControlList: Fixed #897: PeriodicGate durations vector was incorr…
…ectly calculated.
- Loading branch information
Showing
3 changed files
with
52 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
881fbe6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi levy, When I set hasgcl to true, can I configure the offset parameter for the gcl entry? It appears that the offset parameter is invalid.
881fbe6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no offset parameter in the GateControlList module. The offset parameter of the individual PeriodicGate modules are set by the GateControlList module, so currently you can't directly set the offset parameter.
881fbe6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your reply! I have some misunderstanding of the value of offset. I saw in the time synchronization example that offset is used to absorb the time of the packet from the source node to the switch node, so I wonder if there are similar functions or parameters for GCL to perform such operations? Recently I was thinking about configuring GCL myself and discovered that packets don't arrive at the gate immediately, so GCL will work only after the propagation delay and the processing delay of the switching node.
Best Regards
Jack