Fix (retract,approach,params) -> (approach,retract,params) in wtk driver.
authorW. Trevor King <wking@drexel.edu>
Wed, 2 Jun 2010 03:14:40 +0000 (23:14 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 2 Jun 2010 03:14:40 +0000 (23:14 -0400)
The block paths should be in chronological order.

hooke/driver/wtk.py

index a7aec0bef1576a61f308a3b4e1515cc5e9838b5f..c7387ffe1fdcc55388b986718b50074f373ca84e 100644 (file)
@@ -100,7 +100,7 @@ class WTKDriver (Driver):
         return ([approach, retract], info)
 
     def _paths(self, path):
-        return (path, path+'_approach', path+'_param')
+        return (path+'_approach', path, path+'_param')
 
     def _read_params(self, param_path):
         params = {}