ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I'm no expert in Python, but to me your node is subscribing properly and the callback is being called. The issue is with:
print ilimb_define_pos.msg
That error means the global variable ilimb_define_pos
(which happens to be the same as the topic name) is not defined.
Exclude that line from your code and that should solve your problem.