java_rosbridge icon indicating copy to clipboard operation
java_rosbridge copied to clipboard

the topic name is not same in publish and subscribe?

Open qian0205 opened this issue 5 years ago • 0 comments

hi, i am confused, The RosTest code in the tests package: the subecribe code: bridge.subscribe(SubscriptionRequestMsg.generate("/ros_to_java"), the topic name is /ros_to_java, but in the publisher, Publisher pub = new Publisher("/java_to_ros", "std_msgs/String", bridge); the topic name is /java_to_ros. is this case right?

Thanks

qian0205 avatar Dec 16 '20 06:12 qian0205