ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi,
I was having the exact same problem. I was able to find a work around. Just put a rospy.sleep(0.01)
at the very beginning of your while loop in the updated code (that you posted as an answer) or at the very beginning of BSCFun1
method.
Apparently, during the sleep time, the callback functions are called and the values are updated.
2 | No.2 Revision |
Hi,
I was having the exact same problem. I was able to find a work around. Just put a
at the very beginning of your while loop in the updated code (that you posted as an answer) or at the very beginning of rospy.sleep(0.01)rospy.sleep(0.1)BSCFun1
method.
Apparently, during the sleep time, the callback functions are called and the values are updated.