ROS and TkInter
How to use the TK Inter package for Ros Tools
import tkinter as tk
import rospyrospy.init_node("tkinter")
speed_pub = rospy.Publisher('[topic]', [datatype], queue_size = [queue size])
heat_sub = rospy.Subscriber('[topic]', [datatype], [callback fxn])[canvas name] == tk.Canvas([root name], width = [width], height = [height])
[canvas name].grid(columnspan = [# of columns]Last updated
Was this helpful?
