Header implementation into messages from tutorial
Hey Beginner here,
just made my way through the easy Tutorials for ROS. Wanted to use "rostopic delay" between the node "talker" and "listener" but I'm getting the error that there is no timestamp. I think the solution would be to implement the header into my messages but I failed several times. Can somebody help me with my problem?
Made the C++ Publisher and Subscriber with Messages Tutorial and put the line "Header header" in the first line into the Num.msg but it didn't work and I didn't find a way to make the headers correct.
Did you run
catkin_make
after editing your Num.msg file (you need to)? Were there any errors?I used 'catkin_make' without any errors. Started 'roscore' then the two nodes "talker" and "listener" everything works. But when trying to check the delay with ‘rostopic delay /chatter‘, my console just reports the error "msg does not have header".