How can I use my own .msg?
I've created my own .msg and can perform "rosmsg show MyMessage". The question is how can I use it in my C++ code?
I've seen this link that is exactly the same question (http://answers.ros.org/question/31779/how-to-use-a-message-that-i-made/) however I don't really get it all. =(
Why is there a Header header in the .msg file? Is it "standard" to have in a msg?
Where Is the MyMessage.h file saved? How do I create It? I can only find the .msg file. Since I can't find it I cant Include it in the cpp file naturally.
It also states that I should add the line <depend package="my_custom_msg_package"/> in the manifest. When I do this i get an error saying: - The manifest must not contain the following tags: depend
How can I solve this?
Many Thanks, Patrik