Python ROS Noetic handle callback in the same thread

asked 2021-12-02 12:07:17 -0500

Is there a way to handle the callbacks from topics in the same thread in python? By default it handles it in a different thread, however, I need it in the same thread. Is there some way to do this in python? I keep only finding answers about c++.

edit retag flag offensive close merge delete

Comments

Please describe what problem you are having, preferably with a short example, rather than telling us your solution to the problem. You can edit your description using the "edit" button near the end of the text.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-12-03 15:24:57 -0500 )edit