create 2 nodes [closed]
I want to create 2 nodes where 1 node input from keyboard(string) and node 2 wait for message and print the message
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I want to create 2 nodes where 1 node input from keyboard(string) and node 2 wait for message and print the message
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".
The same tutorial exists as c++ version at https://wiki.ros.org/roscpp_tutorials
Asked: 2021-09-22 13:59:58 -0500
Seen: 76 times
Last updated: Sep 22 '21
what versions of ROS can I run on Ubuntu 18.04 (i386)?
About cppunit installation and use
upgrade opencv version in melodic
Display sonar datapoints in rviz for amcl
Launching multiple robots in gazebo by namespace
AttributeError's when running Python scripts
ROS Melodic OpenCV xfeatures2d