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

Revision history [back]

click to hide/show revision 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.