ROS2 message duplicates
Hello,
I am sending messages from a node, receiving them in another.
The message type is custom containing 4 float32 values.
I am sending using a QoS that contains "reliable".
Problem is, I am sending different values and receiving the same value over and over again for some time, then it changes, then again a lot of duplicates, etc.
In the attached 5 sec video you can see the sender and the receiver, they run in sync, simply printing out the message sent/received. The received message contains the duplicated values.
How is this possible, what could be wrong?
Thanks,
Mihai
hard to tell without code. Can you provide a minimal working example?