switches drawing of servo links temporarily off to speed up processing.
This commit is contained in:
parent
171f5375f1
commit
874d5067c7
|
@ -179,12 +179,19 @@ parser.set_defaults(verbose=False)
|
|||
outputLocals = {}
|
||||
print 'waiting to connect...'
|
||||
py_connect('',options.port)
|
||||
output(['*remove_all_servos',
|
||||
output([\
|
||||
'*remove_all_servos',
|
||||
'*sweep_all',
|
||||
'*renumber_nodes'],outputLocals,'Mentat') # script depends on consecutive numbering of nodes
|
||||
'*renumber_nodes',
|
||||
'*set_links off',
|
||||
],outputLocals,'Mentat') # script depends on consecutive numbering of nodes
|
||||
cmds = servoLink()
|
||||
print 'connected...'
|
||||
output(cmds,outputLocals,'Mentat')
|
||||
output([\
|
||||
'*set_links on',
|
||||
'*draw',
|
||||
],outputLocals,'Mentat') # script depends on consecutive numbering of nodes
|
||||
py_disconnect()
|
||||
|
||||
if options.verbose:
|
||||
|
|
Loading…
Reference in New Issue