HI I just read the explanation about the topics. Looking at the codes in c++ I manage to understand how to subscribe to a topic and how to publish into a topic. My question is, how can a node A publish into a topic "/tutle1/cmd_vel" and another node B subscribe to the same topic knowing that in A it gives as topic name "turtle1/cmd_vel" and in B just "cmd/vel"?
↧