ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
@A.Grag std_msgs.String
is a standard message, and you are dealing with service clients in that piece of code.
I suggest you to take a look at https://github.com/rosjava/rosjava_core/tree/kinetic/rosjava_tutorial_pubsub and http://wiki.ros.org/rosjava_build_tools/Tutorials/indigo/WritingPublisherSubscriber%28Java%29 first, I think you are mixing the concepts of messages and topics with services.