Subscriber logic
Hi guys,
I'm stuck here now,
I have this common listener with a subscriber:
def listener():
rospy.init_node('teleop_list', anonymous=True)
rospy.Subscriber('key_vel', Twist, callback)
# spin() simply keeps python from exiting until this node is stopped
rospy.spin()
I want to know if there is a way to call the callback when no data is received (I already know the callback theory, when something happens the callback is triggered, and this is why I'm asking) or find a way to do something while the callback is not triggered
Ty