File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3333import xml .etree .cElementTree as ET
3434from threading import Thread
3535
36- import qtm
36+ import qtm_rt
3737from scipy .spatial .transform import Rotation
3838
3939import cflib .crtp
@@ -106,7 +106,7 @@ async def _connect(self):
106106 qtm_instance = await self ._discover ()
107107 host = qtm_instance .host
108108 print ('Connecting to QTM on ' + host )
109- self .connection = await qtm .connect (host )
109+ self .connection = await qtm_rt .connect (host )
110110
111111 params = await self .connection .get_parameters (parameters = ['6d' ])
112112 xml = ET .fromstring (params )
@@ -117,7 +117,7 @@ async def _connect(self):
117117 on_packet = self ._on_packet )
118118
119119 async def _discover (self ):
120- async for qtm_instance in qtm .Discover ('0.0.0.0' ):
120+ async for qtm_instance in qtm_rt .Discover ('0.0.0.0' ):
121121 return qtm_instance
122122
123123 def _on_packet (self , packet ):
You can’t perform that action at this time.
0 commit comments