How to publish a specific message to ROS?
Hello
I am using an arduino UNO to communicate with ROS and I am trying to write a program to create a publisher and a subscriber node. I am not that familiar with ROS but I was wondering if there is a way to tell ROS exactly what to do. I mean that ok I publish a message to ROS but how can ROS know what to do? Lets say for example that I have an input to my arduino coming from a PIC microcontroller and what ROS needs to do is to tell the robot to go to a specific location. Can anyone give me a hint on how to do that?
Thanks in advance