[openrtm-commit:02550] r807 - in trunk/OpenRTM-aist-Python/OpenRTM_aist/examples: ExtTrigger SimpleIO Slider_and_Motor

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 4月 3日 (月) 12:20:33 JST


Author: miyamoto
Date: 2017-04-03 12:20:33 +0900 (Mon, 03 Apr 2017)
New Revision: 807

Modified:
   trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/ExtTrigger/run.py
   trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/SimpleIO/run.py
   trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/Slider_and_Motor/run.py
Log:
[compat,bugfix,->RELENG_1_2] fixed bug.

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/ExtTrigger/run.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/ExtTrigger/run.py	2017-03-30 15:12:04 UTC (rev 806)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/ExtTrigger/run.py	2017-04-03 03:20:33 UTC (rev 807)
@@ -24,10 +24,10 @@
 plat=sys.platform
 
 if plat == "win32":
-    os.system("start python ..\\..\\..\\bin\\rtm-naming.py")
+    os.system("start \"\" \"%RTM_ROOT%\\bin\\rtm-naming.bat\"")
     os.system("start python ConsoleIn.py")
     os.system("start python Consoleout.py")
-    time.sleep(2)
+    time.sleep(5)
     os.system("python Connector.py")
 
 else:

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/SimpleIO/run.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/SimpleIO/run.py	2017-03-30 15:12:04 UTC (rev 806)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/SimpleIO/run.py	2017-04-03 03:20:33 UTC (rev 807)
@@ -25,10 +25,10 @@
 
 def main():
   if plat == "win32":
-    os.system("start python ..\\..\\..\\bin\\rtm-naming.py")
+    os.system("start \"\" \"%RTM_ROOT%\\bin\\rtm-naming.bat\"")
     os.system("start python ConsoleIn.py")
     os.system("start python Consoleout.py")
-    time.sleep(3)
+    time.sleep(5)
     os.system("python Connector.py")
 
   else:

Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/Slider_and_Motor/run.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/Slider_and_Motor/run.py	2017-03-30 15:12:04 UTC (rev 806)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/examples/Slider_and_Motor/run.py	2017-04-03 03:20:33 UTC (rev 807)
@@ -24,10 +24,10 @@
 plat=sys.platform
 
 if plat == "win32":
-    os.system("start python ..\\..\\..\\bin\\rtm-naming.py")
+    os.system("start \"\" \"%RTM_ROOT%\\bin\\rtm-naming.bat\"")
     os.system("start python SliderComp.py")
     os.system("start python TkMotorComp.py")
-    time.sleep(2)
+    time.sleep(5)
     os.system("python Connector.py")
 
 else:



openrtm-commit メーリングリストの案内