ros subscriber/publisher define scope
Hello,
this may be also in general cpp related question or a style related question. I just wonder, if i should define my publisher and subscriber in the header of my class as class member, what I always did so far or should I define them e.g. in my myRosNode:run() function scope.
Is there any advantage?
I already googled and did not get a answer so far.
Thanks in advance.
Asked by RosNav on 2019-08-19 04:18:46 UTC
Comments