[openrtm-commit:01635] r625 - trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/TkJoyStick
openrtm @ openrtm.org
openrtm @ openrtm.org
2015年 10月 29日 (木) 07:44:46 JST
Author: n-ando
Date: 2015-10-29 07:44:46 +0900 (Thu, 29 Oct 2015)
New Revision: 625
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/TkJoyStick/tkjoystick.py
Log:
[compat,->RELENG_1_1] A bug of TkJoystick circle drawing logic has been modified.
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/TkJoyStick/tkjoystick.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/TkJoyStick/tkjoystick.py 2015-10-27 07:35:59 UTC (rev 624)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/TkJoyStick/tkjoystick.py 2015-10-28 22:44:46 UTC (rev 625)
@@ -119,7 +119,7 @@
circnum = 0
else:
circnum = max(self.width, self.height) / self.pitch
- circrange = range(circnum)
+ circrange = range(int(circnum))
circrange.reverse()
for i in circrange:
x0 = self.x - self.pitch * i
More information about the openrtm-commit
mailing list