When to call generate_message() in CMakeLists.txt
Do I need to call generate_message() when I am only using a message defined in another package, and not defining one in my package?
It seems like I should not, since the code for the messages are already generated in the package defining it, which I am including. But the tutorial "Writing a Simple Publisher and Subscriber (C++)" has a call to generate_message() even though it only uses the std_msgs/String message, and does not define any of its own.
Can someone clarify the situation?