enhance simulation

This commit is contained in:
2023-06-29 10:40:23 +02:00
parent 6141dba696
commit 7d2cfaf209
2 changed files with 15 additions and 14 deletions

View File

@@ -114,7 +114,8 @@ Coord[1].Q[0]=-3 //motion program started and waits. Arm(-2) is done in triggerS
self.sync_prg = prg
#download and start triggerSync code
comm=self.comm
if comm is None: return
if comm is None:
_log.info('simulated');return
mode=0 #mode to pass to triggerSync program
if sync_mode==2:mode+=1 #synchronize