ros Header: increasing "seq" in service calls?
Hi,
I have a srv that contains a msg, which contains a ROS Header. I have two static variables inside main: one with a message and one with a service (containing request/response and wrapped inside the request the message of the previous type).
When I publish several messages, the seq-field of the Header is increased.
When I execute a service call, the sequence number is not increased.
Bug, misunderstanding or bad luck?
using ROS Electric...
Greetings Marvin
I'm surprised by this behaviour, because of the difference between "topic" and "service call" where both have the same magic "Header". What is this "Header" supposed to do? It should increment the "seq" field every time something goes over the wire -- or not, I don't care. But not sometimes...