Can the subscriber be part of a separate package than the one that it is subscribing to? [closed]
Hello, I have the basic idea of writing a subscriber. But I am not quite sure about where it is to be placed. Suppose I am subscribing to a topic in a particular package (not written by me). Is it necessary that the subscriber code (C++ or python) be placed inside the src folder of this package or can I create a separate package just for this subscriber?
Will creating a new package for subscriber make writing/editing the the CMakeLists.txt and package.xml more difficult?