↧
Comment by ctguell for You should incorporate the subscriber code before the...
@davinci thanks , but how to I accomplish that? to incorporate the subscriber code before the publisher code?
View ArticleAnswer by davinci for I want to create a node that will publish a topic but...
You should incorporate the subscriber code before the publisher code. If you roscd to std_msgs/msg you can find all the standard data types.
View ArticleAnswer by tfoote for I want to create a node that will publish a topic but...
Yes you can do that. I suggest you go through [all the ROS Tutorials](http://wiki.ros.org/ROS/Tutorials). ([This one](http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28c%2B%2B%29) will...
View ArticleHow to create subscriber in a publisher
I want to create a node that will publish a topic but before that subscribes to listen to another topic. I want to rostopic pub /my_topic_cg std_gs/String "GO" ,and when the listener gets the "GO"...
View Article