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
Originally posted by mavin2k on ROS Answers with karma: 1 on 2012-07-15
Post score: 0
Original comments
Comment by mavin2k on 2012-07-16:
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...