From 3a736bda49c37991340928b5dccbc659bd0f053c Mon Sep 17 00:00:00 2001 From: wangWking <842749351@qq.com> Date: Mon, 14 Mar 2022 15:03:52 +0800 Subject: [PATCH] Add English annotation --- mypalletizer_260/launch/follow.launch | 4 ++-- mypalletizer_260/launch/simple_gui.launch | 2 +- mypalletizer_260/scripts/listen_real.py | 3 ++- mypalletizer_260/scripts/simple_gui.py | 3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/mypalletizer_260/launch/follow.launch b/mypalletizer_260/launch/follow.launch index 56b0dc3..79f2af1 100644 --- a/mypalletizer_260/launch/follow.launch +++ b/mypalletizer_260/launch/follow.launch @@ -1,11 +1,11 @@ - + - + ["joint_states"] diff --git a/mypalletizer_260/launch/simple_gui.launch b/mypalletizer_260/launch/simple_gui.launch index a485f63..b4725d8 100644 --- a/mypalletizer_260/launch/simple_gui.launch +++ b/mypalletizer_260/launch/simple_gui.launch @@ -9,7 +9,7 @@ - + diff --git a/mypalletizer_260/scripts/listen_real.py b/mypalletizer_260/scripts/listen_real.py index 4b706bc..76171ba 100755 --- a/mypalletizer_260/scripts/listen_real.py +++ b/mypalletizer_260/scripts/listen_real.py @@ -38,7 +38,8 @@ def talker(): rospy.loginfo("start loop ...") while not rospy.is_shutdown(): - # get real angles from server. 从服务获取真实的角度 + # get real angles from server. + # 从服务获取真实的角度 res = func() if res.joint_1 == res.joint_2 == res.joint_3 == 0.0: continue diff --git a/mypalletizer_260/scripts/simple_gui.py b/mypalletizer_260/scripts/simple_gui.py index a758aaa..2d33ced 100755 --- a/mypalletizer_260/scripts/simple_gui.py +++ b/mypalletizer_260/scripts/simple_gui.py @@ -105,7 +105,8 @@ class Window: tk.Label(self.frmRT, text=" rx ").grid(row=3) - # Set the default value of the input box. 设置输入框的默认值 + # Set the default value of the input box. + # 设置输入框的默认值 self.j1_default = tk.StringVar() self.j1_default.set(self.res_angles[0]) self.j2_default = tk.StringVar()