ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2018-05-23 05:43:40 -0500 | received badge | ● Notable Question (source) |
2018-05-23 05:43:40 -0500 | received badge | ● Popular Question (source) |
2018-05-23 05:43:40 -0500 | received badge | ● Famous Question (source) |
2017-10-13 19:48:27 -0500 | commented answer | rosjava publishing to a topic based on user input (button) Thanks a bunch man! It works! |
2017-10-13 19:48:12 -0500 | marked best answer | rosjava publishing to a topic based on user input (button) I have been playing around with rosjava now for a few days and it is great. I am able to connect my android phone to ros master over usb/wifi and have them publish/subscribe to one another. What I am trying to do now is add a button on my android app, when the user hits it, the message being published changes. To clarify: I have a publisher node "talkernode" created that starts by publishing a String "Hello" message on a "/chatter" topic. When the user hits a button, I want the String message to change to something of my choice. Below is the relevant portion of my code. The Below is the Talker class code. I apologize if this is an easy question or if it has been answered before, but any help would be immensely appreciated. |
2017-10-13 19:48:11 -0500 | received badge | ● Scholar (source) |
2017-10-13 19:48:10 -0500 | received badge | ● Supporter (source) |
2017-10-13 15:21:11 -0500 | received badge | ● Student (source) |
2017-10-13 08:42:30 -0500 | asked a question | rosjava publishing to a topic based on user input (button) rosjava publishing to a topic based on user input (button) I have been playing around with rosjava now for a few days an |