![]() | 1 | initial version |
I am stuck on this issue, where I need to run both rospy.spin() in order to subscribe to the topic, and Tkinter.mainloop(), in order for the GUI to work.
May I know how do I run both at the same time?
This has a really short answer: you don't.
See #q106781 for some explanation.
![]() | 2 | No.2 Revision |
I am stuck on this issue, where I need to run both rospy.spin() in order to subscribe to the topic, and Tkinter.mainloop(), in order for the GUI to work.
May I know how do I run both at the same time?
This has a really short answer: you don't.
See #q106781 for some explanation.
Summary: rospy.spin()
doesn't do much more than sleeping (here). In roscpp
, things are different, see some of the other Q&As on this site for that.