Robotics StackExchange | Archived questions

create 2 nodes

I want to create 2 nodes where 1 node input from keyboard(string) and node 2 wait for message and print the message

Asked by MPR on 2021-09-22 13:59:58 UTC

Comments

Answers

You need to decide whether to use python or c++. For python, some good tutorials are at http://wiki.ros.org/rospy_tutorials . Click on the link "Writing a Simple Publisher and Subscriber".

Asked by Mike Scheutzow on 2021-09-22 15:10:31 UTC

Comments

i use c++.

Asked by MPR on 2021-09-22 15:12:30 UTC

The same tutorial exists as c++ version at https://wiki.ros.org/roscpp_tutorials

Asked by MarioSpeckert on 2021-09-23 07:52:14 UTC