Empty connection header topic
I am trying to use a driver that reads the name of the incoming topic from the connection header. When I publish data from a C++ node, it is always empty but when I use rostopic pub
it works just fine. Is there a way to ensure the connection header is populated?
Thanks,
-Tony
Edit for additional information
OS: Ubuntu 14.04
ROS:indigo 1.11.9
roscpp: 1.11.9-0trusty-20141029-0127-+0000
roscpp_core: 0.5.4-0trusty-20140724-0053-+0000
The subscriber is in C++ and is here