ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

mavin2k's profile - activity

2012-09-21 07:05:24 -0500 received badge  Famous Question (source)
2012-09-06 19:48:42 -0500 received badge  Popular Question (source)
2012-09-06 19:48:42 -0500 received badge  Notable Question (source)
2012-07-16 03:57:28 -0500 commented question ros Header: increasing "seq" in service calls?

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...

2012-07-15 22:41:38 -0500 asked a question 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