How to code user inputs and print messages?
Hi,
I am new to ROS. I wish to do a program such that a node get input from user (example: please key in 'H' or 'B') and transfer to another node via a topic. That node receive the message and print out ('Hey' ; if H is keyed and 'Bye'; if B is keyed)
May i know how can i program these?
ROS nodes are most commonly written in C++ or Python. You would use the standard way in either of those languages to get input and print output. There are many websites that have beginner tutorials. Here is one list of sites: https://www.codeconquest.com/blog/the...