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

how to close subscriber

asked 2017-03-16 04:38:44 -0600

dyan gravatar image

After rospy.Subscriber(),after a period of time or after an event this may no longer need,how to close this subscriber

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-03-16 05:18:53 -0600

NEngelhard gravatar image

rospy.Subscriber gives you a Subscriber that can be shut down by calling *.unregister()

edit flag offensive delete link more

Question Tools



Asked: 2017-03-16 04:38:44 -0600

Seen: 1,030 times

Last updated: Mar 16 '17