ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
There are many ways how to pass data from one node to another.
You could publish your variable in a topic: Tutorial Understanding Topics
You could use a Setter like service: Tutorial Understanding Services
And some more advanced ways to do it.