Subscribing problem

I used the local_planner_node.cpp and the local_planner_node.h to subscribe to a topic and I’m now able to subscribe to that topic however when I use rosnode info /local_planner_node I find that topic[unknown] . and when I rosrun the node containing the publisher I’m not able to receive the message . So please what can I do with that ?