ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

create 2 nodes [closed]

asked 2021-09-22 13:59:58 -0500

MPR gravatar image

updated 2022-04-30 13:17:29 -0500

lucasw gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by MPR
close date 2021-09-24 16:38:33.351935

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-09-22 15:10:31 -0500

Mike Scheutzow gravatar image

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".

edit flag offensive delete link more

Comments

i use c++.

MPR gravatar image MPR  ( 2021-09-22 15:12:30 -0500 )edit

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

MarioSpeckert gravatar image MarioSpeckert  ( 2021-09-23 07:52:14 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-09-22 13:59:58 -0500

Seen: 76 times

Last updated: Sep 22 '21