RTPS heartbeat and acknack PreviousNext
Data Distribution Service (DDS) Forum > DDS Technical Forum >
Message/Author
Next message FrancescoMelillo  posted on Friday, May 09, 2008 - 01:19 pm
Heartbeat and acknack message use the sequence number to distinguish messages, but if I use multiple instances of a datatype, the same sequence number would characterize different instances. In this situation how does the reader (that receive hertbeat) understands the instance associated?
Next message Niels Kortstee  posted on Wednesday, May 14, 2008 - 07:15 am
Each RTPS Writer maintains its own sequence number. Each change of such a Writer gets a consecutive sequence number. This means that the combination of the SequenceNumber and the writerId uniquely identifies a change. The SequenceNumber has no relation with an instance.

AckNack messages contain a writerId that identifies the Writer entity that is the target of the AckNack message and a SequenceNumberSet that identifies the messages that have been received and/or are missing.

Heartbeat messages contain a writerId that identifies the sender and besides that a firstSN with lastSN SequenceNumber that respectively identify the first and the last sequence number that is available in the Writer.

Best regards, Niels
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action: