ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You are printing values, i.e. x1, y1 before they have been assigned. The subscribers won't do anything until spin is called and messages are received.